How to setup a TCP Proxy for your hotel

Hobtel

New Member
May 2, 2012
23
9
Hi, I see alot of confused retro owners when it comes to setting up a TCP Proxy to hide their IP adress, so i will make a quick guide for everyone that doesnt know how it works.
In case you dont even know why your hotel should use a TCP Proxy then it is because people will be able to find your IP by doing "view-source:hotelname.com/client" or using wireshark.

(I will use the website trought the whole tutorial)

1. Enter the your destination IP + Port. Usually port 30000.
935cceff004332d2d7bdf37fcd2e18da.png

2. You will get a proxy IP + proxy port after you purchase, for example "proxy.plusprovider.net:30533"

3. When you got it, you are going to change details in your client.php like this.
7b340b9ff2db1b7c36faa07e42ee941b.png


And now you are finished.

In case you are using r63 you will have to run this sql aswell.
UPDATE server_settings SET enable_securesessions = '0';
UPDATE server_settings SET enable_antiddos = '1';
UPDATE server_settings SET ip_lastforbans = '1';

This is just a thread for new hotel owners that dont know how to set it up, I know plenty of people probably already know how to, but just in case.
If there is anything I should add to this tutorial then just tell me.

This link is a for the TCP Proxy
 
Last edited:

Syr

Member
Jun 10, 2014
68
9
Can someone help me finish this code?
It will show their real IP even when using a proxy
Code:
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
}
 
I got an advice from rzone to use a " "
Do you know how to do this?
 

MayoMayn

BestDev
Oct 18, 2016
1,423
683
Can someone help me finish this code?
It will show their real IP even when using a proxy
Code:
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
}
 
I got an advice from rzone to use a " "
Do you know how to do this?
Never use HTTP_CF_CONNECTING_IP as it is insecure, what you should do instead, is checking whether or not the user is using VPN or a Proxy.

Haha TCP Proxies are crap and unreliable if the "attacker" knows how to use Kali Linux properly. You do realise a TCP Proxy doesn't protect you against overflooding, because if the Proxy goes down, so does the client.

Sent from my SM-G928F using Tapatalk
 
Last edited by a moderator:

NO4H

New Member
Dec 21, 2016
27
13
Haha TCP Proxies are crap and unreliable if the "attacker" knows how to use Kali Linux properly. You do realise a TCP Proxy doesn't protect you against overflooding, because if the Proxy goes down, so does the client.

Sent from my SM-G928F using Tapatalk
That's why you get a proxy that can withstand quite big attacks.

Good tutorial.
 

MayoMayn

BestDev
Oct 18, 2016
1,423
683
That's why you get a proxy that can withstand quite big attacks.

Good tutorial.
Thats why you use "protection". Proxies for this is just as big of a scam as CloudFlare and other "DDoS" Protection companies.

Sent from my SM-G928F using Tapatalk
 

Users who are viewing this thread

Top