How to combine with openvpn, dynamic-ip?
- by asfasdv
Dear everyone,
I am currently using openvpn to surf online to bypass censorship.
Let me show you the initial scenario:
before openvpn is turned on:
IP: 1.2.3.4 (hypothetical, checked by visiting whatismyip.com/)
after openvpn is turned on
IP: 10.2.3.4 (this is also checked with whatismyip.com/, I assume this is where the vpn's exit point's IP )
Situation: Once I enable openvpn, I can still ssh into this computer by sshing into 1.2.3.4, even though visiting whatismyip.com/ says it's 10.2.3.4. However, I am on dynamic IP, I run a website, and am using tools (inadyn in particular) which pings the freedns.afraid.org (my dns server) and updates my ip.
The messed up part is when inadyn does so, my dns changes the ip to 10.2.3.4, which is presumably the exit point of my vpn.
How do I get around this? (Note that sshing into 1.2.3.4 STILL works).