OpenVPN thin adjustment (preventing real IP detection)

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
Sp_Lit
DD-WRT Novice


Joined: 07 Oct 2016
Posts: 4

PostPosted: Sun Oct 09, 2016 20:02    Post subject: OpenVPN thin adjustment (preventing real IP detection) Reply with quote
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.
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum