---------------------------------------- > From: bird_...@hotmail.com > To: openvpn-users@lists.sourceforge.net > Subject: Why can't I access my modem from the outside? > Date: Fri, 1 Nov 2013 18:23:12 +0000 > > Here is my setup. My dsl modem is attached to the WAN port of my router. > Vlan2 is the WAN port interface. Vlan2 has been assigned an IP address > (192.168.1.253) in the same subnet as the modem to allow access. This rule > is used to make it work 'iptables -I POSTROUTING -t nat -o vlan2 -d > 192.168.1.254 -j MASQUERADE' With this setup from inside my lan (on a > different subnet) I can still access the dsl modem. Tap0 is my openvpn > interface. It is part of the bridge 'br0' and gets assigned an ip address > within the same subnet as my lan. Effectively, when using Openvpn I become > part of my lan and can access lan resources. So far so good. Here is the > problem. When testing openvpn from public wifi, I can't access the dsl > modem. I am on my lan as I can access other things. I can access my dsl > modem testing openvpn from inside my lan, just not from the outside. When I > remotely connect, I want EVERYTHING to be as if I were on my lan. I don't > get why this doesn't work. Can someone help me figure this out?
I figured it out. Sometimes the redirect-gateway command isn't successful so my packets are not being sent over the vpn. Is there a way to ensure that this has worked before the vpn connection is established or at least increase the odds? I would hate to have to check the log to be sure it worked before I started using the vpn. ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users