Sp_Lit DD-WRT Novice
Joined: 07 Oct 2016 Posts: 4
|
Posted: Sun Oct 09, 2016 20:02 Post subject: OpenVPN thin adjustment (preventing real IP detection) |
|
Hi all.
Got a router TP-Link TL-WR842ND V. 2.0 & 27086 (2015/05/27) on board.
The main idea of the router (I will call it "client", because there is still the "main" router) is to work exclusively through a VPN. The client is connected to the main router and gets the Internet from it (they are in different subnets).
The target is a complete anonymity of the machines connected to the client. On the advice of VPN service, in order to prevent detection of the real IP in a sudden loss of connection, the following commands were launched:
Code: | iptables-I FORWARD -i br0 -o tun0 -j ACCEPT
iptables-I FORWARD -i tun0 -o br0 -j ACCEPT
iptables-I FORWARD -i br0 -o vlan2 -j DROP
iptables-I INPUT-i tun0 -j REJECT
iptables-t nat -A POSTROUTING -o tun0 -j MASQUERADE |
The problem was solved, but not comletely. The router-client uncovers real IP within 10-15sec after reboot (turning off-on, etc.), knocking on the Internet bypass VPN. The question is, is it possible to block such connections with some commands? Internet access either via VPN or nothing.
Thanks in advance for the advice. |
|