Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on LowEndTalk.com
Network admin & VPS
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

Network admin & VPS

Hello,

im looking for the person experienced in Linux

I need a VPS which will be used as an reverse proxy.

VPS will be listening for SSH connections on an non standard port all other ports will be forwarded to an external IP (server in different datacenter).

This external server is an webserver with cpanel control panel.

I want to anonymize the webserver (and all its services/ports), by putting it behind this VPS reverse proxy which will forward all requests and send back all responses.

So i need this VPS (small hdd, 100gb data transfer,ram?) and an easy to follow tutorial on how (linux commands) to achive this thing.

Thank you

InternetLifeForum.com - hosting, webmaster forum

Comments

  • you need someone to do that OR you need someone to tell you how to do that

    Sry i don't understand properly

    Make your choice on your own But i can help you to make them right.

  • postcdpostcd Member
    edited December 2015

    @simonindia said:
    you need someone to do that OR you need someone to tell you how to do that

    Sry i don't understand properly

    Thx, i can do it myself, but i need someone to provide a tutorial

    InternetLifeForum.com - hosting, webmaster forum

  • @postcd said:
    Thx, i can do it myself, but i need someone to provide a tutorial

    You clever? tutorial? lmao!!!

  • Buy a server from Fran and get @francisco from buyvm to help you.

    I think they've been setting up people will all kinds of advanced woodoo networking stuff.

    postcd said: Thx, i can do it myself, but i need someone to provide a tutorial

    Go give Vultr(referral) a try. | GNU/Linux http://debian.org

  • mikhomikho Member, Provider

    Haproxy?

    Get a LES NAT VPS! (or 10) in United States (3), Germany, Bulgaria, France, Norway, Australia (2), Singapore. | -> 500gb NAT Storage
  • CF(CloudFlare)

    Make your choice on your own But i can help you to make them right.

  • postcd said: achive

    achieve*

    Thanked by 1zafouhar
  • Hey @postcd,
    You can checkout our latest offerings here.


    Configuring this for you also wouldn't be a problem.

    Regards,

    Jacob.

    @postcd said:
    Hello,

    im looking for the person experienced in Linux

    I need a VPS which will be used as an reverse proxy.

    VPS will be listening for SSH connections on an non standard port all other ports will be forwarded to an external IP (server in different datacenter).

    This external server is an webserver with cpanel control panel.

    I want to anonymize the webserver (and all its services/ports), by putting it behind this VPS reverse proxy which will forward all requests and send back all responses.

    So i need this VPS (small hdd, 100gb data transfer,ram?) and an easy to follow tutorial on how (linux commands) to achive this thing.

    Thank you

    AboveClouds • UK Company • UK Datacentre • UK Customer Support

    High Performance Pure SSD Cloud Hosting with a personal touch

  • @Jacob thanks, but im not asking for configuring, i asked for the tutorial. i also want to be able to learn the process and understand how exactly it works.

    @simonindia sorry, im using it and im not aware how i can use it this way.

    @mikho you know any tutorial? that is what i asked at first place

    InternetLifeForum.com - hosting, webmaster forum

  • JacobJacob Member
    edited December 2015

    @postcd You have a few options.

    Easy, no configuration:
    https://www.inlab.de/balance.html - TCP Balance, I have used this personally and it works great, supports standard tcp port forwarding along with load balancing following the round robin technique.


    Rinetd - I'm sure you've heard of this before, it's quite old but it works and is great the majority of the time.

    Alternatively for a more complex setup, please see below:

    https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-as-a-web-server-and-reverse-proxy-for-apache-on-one-ubuntu-14-04-droplet

    And finally for UDP:
    You can use socat, there is also one other udp port forwarder but I can't remember the name.. :(

    The tcp/udp tunnel packages require no configuration changes, all redirections are done via the CLI.

    Thanked by 1postcd

    AboveClouds • UK Company • UK Datacentre • UK Customer Support

    High Performance Pure SSD Cloud Hosting with a personal touch

  • mikhomikho Member, Provider

    postcd said: This external server is an webserver with cpanel control panel.

    postcd said: @mikho you know any tutorial? that is what i asked at first place

    Well, anonymising the incomming ports using HAproxy should be pretty easy, it's the outgoing connections that will be troublesome. Can you (ie Do you have the knowledge) to configure cPanel to forward all outgoing traffic (that is initiated from cPanel) to your proxy?

    Get a LES NAT VPS! (or 10) in United States (3), Germany, Bulgaria, France, Norway, Australia (2), Singapore. | -> 500gb NAT Storage
  • mikho said: incomming

    incoming

  • postcdpostcd Member
    edited December 2015

    @mikho, no i do not have knowledge to configure cPanel to forward all outgoing traffic (that is initiated from cPanel) to my proxy

    @Jacob: thx, i googled Yours advised methods and im unsure if these methods will work as reverse proxy (not only request but also response needs to go via proxy), anyway it is still way difficult for me to realise what i need to do exactly so all ports are properly treated and it works as reverse proxy.

    I googled, and there are some interesting things i found:

    1)
    Reverse proxy TCP port 80 from everywhere (internet, intranet, dmz) through the firewall to the DMZ webserver
    socat TCP-LISTEN:80,reuseaddr,fork,su=nobody TCP:www.dmz.mydomain.org:80

    2) iptables rules to setup forwarding on a proxy and host: http://serverfault.com/a/524226

    sysctl -w net.ipv4.ip_forward=1

    iptables -t nat -A PREROUTING -p udp --dport $SRCDS_PORT -j DNAT --to-destination $SRCDS_HOST

    iptables -t nat -A POSTROUTING -p udp --dport $SRCDS_PORT -j MASQUERADE

    3) from buyvm : http://wiki.buyvm.net/doku.php/ipip_tunnel

    but question is what method to use so it works and how to setup that so the proxy is used also for responses sent by host server, all. even UDP ports. My host server is cpanel/whm openvz vps with centOS (redhat based), its also important that incoming connection IPs are not my proxy, but real clients/website visitors.

    InternetLifeForum.com - hosting, webmaster forum

Sign In or Register to comment.