How to combine with openvpn, dynamic-ip?

Posted by asfasdv on Super User See other posts from Super User or by asfasdv
Published on 2010-02-27T12:48:32Z Indexed on 2010/06/17 13:13 UTC
Read the original article Hit count: 197

Filed under:
|

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).

© Super User or respective owner

Related posts about networking

Related posts about openvpn