Reverse Proxy for client only

Results 1 to 15 of 15
  1. #1
    Enthusiast stevier is offline
    MemberRank
    Jan 2015 Join Date
    Monroe, Ohio, ULocation
    30Posts

    Reverse Proxy for client only

    I have a ubuntu VPS that I want to make it where it'll be used for a reverse proxy so I don't have to have my server IP on the client (So it uses my VPS IP that has reverse proxy and the VPS connects to the other server that actually has the emulator), how do I do this exactly?


  2. #2
    Valued Member Pastie is offline
    MemberRank
    May 2014 Join Date
    FranceLocation
    133Posts

    Re: Reverse Proxy for client only

    Hello there buddy.
    I did this a while back ago running CentOS 6. I was using the program HAProxy which is a TCP Server program for Linux. I have never done it for ubuntu, but I assume it's pretty much the same as for CentOS. Anyway, the recommended RAM for this program is 4GB.
    Anyway, here's a tutorial on how to install it on CentOS 5 and 6: http://www.rackspace.com/knowledge_c...ing-up-haproxy

    If you do not have a CentOS server and for some reason can't manage to install it on Ubuntu, just send me a PM and I'll fix it for you :)

    Thanks,
    Zooiki.

  3. #3
    Enthusiast stevier is offline
    MemberRank
    Jan 2015 Join Date
    Monroe, Ohio, ULocation
    30Posts

    Re: Reverse Proxy for client only

    Quote Originally Posted by Zooiki View Post
    Hello there buddy.
    I did this a while back ago running CentOS 6. I was using the program HAProxy which is a TCP Server program for Linux. I have never done it for ubuntu, but I assume it's pretty much the same as for CentOS. Anyway, the recommended RAM for this program is 4GB.
    Anyway, here's a tutorial on how to install it on CentOS 5 and 6: http://www.rackspace.com/knowledge_c...ing-up-haproxy

    If you do not have a CentOS server and for some reason can't manage to install it on Ubuntu, just send me a PM and I'll fix it for you :)

    Thanks,
    Zooiki.
    I tried that, didn't work.

  4. #4
    Valued Member Pastie is offline
    MemberRank
    May 2014 Join Date
    FranceLocation
    133Posts

    Re: Reverse Proxy for client only

    Did you try the tutorial I gave you on Ubuntu? If so, it's for CentOS and not Ubuntu. Anyway, google is your friend.

    Thanks,
    Zooiki.

  5. #5
    Member Mathis Hbx is offline
    MemberRank
    Jul 2012 Join Date
    FranceLocation
    52Posts

    Re: Reverse Proxy for client only


  6. #6
    Evil Italian Overlowrd Droppy is offline
    [Internal Coder]Rank
    Feb 2012 Join Date
    /home/droppyLocation
    2,074Posts

    Re: Reverse Proxy for client only

    Instead of proxy, why not hiding the IP in the SWF?

  7. #7
    Member mateuscm is offline
    MemberRank
    Jul 2014 Join Date
    94Posts

    Re: Reverse Proxy for client only

    Quote Originally Posted by Droppy View Post
    Instead of proxy, why not hiding the IP in the SWF?
    Interesting, how could that be done?

  8. #8
    Evil Italian Overlowrd Droppy is offline
    [Internal Coder]Rank
    Feb 2012 Join Date
    /home/droppyLocation
    2,074Posts

    Re: Reverse Proxy for client only

    Quote Originally Posted by mateuscm View Post
    Interesting, how could that be done?
    Which version are you on?

    Same goes to the OP ( @stevier )

  9. #9
    Enthusiast Hayd3n is offline
    MemberRank
    Oct 2012 Join Date
    40Posts

    Re: Reverse Proxy for client only

    Quote Originally Posted by mateuscm View Post
    Interesting, how could that be done?
    Hiding it in your swf wont do much, all they need to do is load client then run netstat -n in cmd

  10. #10
    Novice Crab is offline
    MemberRank
    Feb 2015 Join Date
    2Posts

    Re: Reverse Proxy for client only

    Droppy, not the best way to hide your IP but meh

  11. #11
    Enthusiast stevier is offline
    MemberRank
    Jan 2015 Join Date
    Monroe, Ohio, ULocation
    30Posts

    Re: Reverse Proxy for client only

    I tried it on CentOS, I switched it from Ubuntu and it didn't work.

    - - - Updated - - -

    I tried that tutorial already as well and it didn't work and it's centos 6. (The one tutorial Mathis gave)

  12. #12
    Evil Italian Overlowrd Droppy is offline
    [Internal Coder]Rank
    Feb 2012 Join Date
    /home/droppyLocation
    2,074Posts

    Re: Reverse Proxy for client only

    Quote Originally Posted by Crab View Post
    Droppy, not the best way to hide your IP but meh
    Use proxies won't help much. And it's a paid option. You always will be able to obfuscate the SWF, and compress it. Most of habbo kiddoes won't even think about opening the swf if you have an fake valid ip in place (such as a cloudflare or w.e)

  13. #13
    I (L) Willem Spot Ify is offline
    MemberRank
    Jun 2012 Join Date
    The NetherlandsLocation
    294Posts

    Re: Reverse Proxy for client only

    You can also use iptables as proxy

    here is a example ps I didn't add any firewall rules but you can just google that by yourself or you can use a "ddos protected" server
    Code:
    #!/bin/bash         
    
    echo "Stopping firewall and allowing everyone..."
    iptables -F
    iptables -X
    iptables -t nat -F
    iptables -t nat -X
    iptables -t mangle -F
    iptables -t mangle -X
    iptables -P INPUT ACCEPT
    iptables -P FORWARD ACCEPT
    iptables -P OUTPUT ACCEPT
    echo "Setting up the firewall"
    // firewall rules here
    
    
    sysctl net.ipv4.ip_forward=1
    iptables -t nat -A PREROUTING  -p tcp -m tcp -d #antiddosserverip# --dport 8080 -j DNAT --to-destination #emulatorserver #:#emulatorPort#
    iptables -t nat -A POSTROUTING -j MASQUERADE
    and @Droppy peaple doesnt have to deobfucate it you can also see it with netstat ;p

    PS I don't recommed to use a proxy or adding the ip to the swf if you have a 200+ retro just buy a good dedicated server <_<


    Oh and btw this is the fastest way of setting up a proxy ;p
    You can also install a vpn server on it and use this server as a "router" for that you need to edit #emulatorserver # to the local VPN ip like (192.168.0.100)
    The vpn methode is little bit like hamachi because you don't have to forward your ports for it and you just get the real ip's.
    Last edited by Spot Ify; 23-02-15 at 10:03 AM.

  14. #14
    Evil Italian Overlowrd Droppy is offline
    [Internal Coder]Rank
    Feb 2012 Join Date
    /home/droppyLocation
    2,074Posts

    Re: Reverse Proxy for client only

    Quote Originally Posted by Spot Ify View Post
    You can also use iptables as proxy

    here is a example ps I didn't add any firewall rules but you can just google that by yourself or you can use a "ddos protected" server
    Code:
    #!/bin/bash         
    
    echo "Stopping firewall and allowing everyone..."
    iptables -F
    iptables -X
    iptables -t nat -F
    iptables -t nat -X
    iptables -t mangle -F
    iptables -t mangle -X
    iptables -P INPUT ACCEPT
    iptables -P FORWARD ACCEPT
    iptables -P OUTPUT ACCEPT
    echo "Setting up the firewall"
    // firewall rules here
    
    
    sysctl net.ipv4.ip_forward=1
    iptables -t nat -A PREROUTING  -p tcp -m tcp -d #antiddosserverip# --dport 8080 -j DNAT --to-destination #emulatorserver#:#emulatorPort#
    iptables -t nat -A POSTROUTING -j MASQUERADE
    and @Droppy peaple doesnt have to deobfucate it you can also see it with netstat ;p

    PS I don't recommed to use a proxy or adding the ip to the swf if you have a 200+ retro just buy a good dedicated server <_<
    true that brother of the netstat. But not even with a dedicated server would be prevented from DoS/DDoS. A big DDoS would make all scheme go to hell.

  15. #15
    Enthusiast stevier is offline
    MemberRank
    Jan 2015 Join Date
    Monroe, Ohio, ULocation
    30Posts

    Re: Reverse Proxy for client only

    I just want it where they can't get the IP and DDoS it, I want to protect it with another IP which I'm trying to do with another server is replace it with that server but make that server use the other server with the emulator so I can still use it.



Advertisement