Sharing openvpn connection over Ethernet..
Posted: Sun Apr 10, 2011 8:49 pm
Hi,
so i have successfully setup an openvpn server on my Linux Vps server. i am able to connect trough my computer (win 7 64) to the vpn, and browse everywhere.
My problem is the following: if i connect my tv or any other ethernet device (e.g. my laptop,) and share my internet connection (either via Internet Connection sharing or Network Bridging Wi-Fi and the LAN device connected,) my tv or the laptop won't connect to the internet. My main pc works totally fine, showing the ip of my Linux server.
If i disconnect the vpn, both the tv and my laptop get a connection.
I assume this has to do with iptables and nat on my Linux server. But i can't figure this out.. Is anyone willing to help me?
All i am trying to do is this: any device that connects to my pc via ethernet, i want to be able to use the VPN connection; that is, my main internet connection must route through vpn for all connections and devices that go through my pc.
I would appreciate any guidance here..
so i have successfully setup an openvpn server on my Linux Vps server. i am able to connect trough my computer (win 7 64) to the vpn, and browse everywhere.
My problem is the following: if i connect my tv or any other ethernet device (e.g. my laptop,) and share my internet connection (either via Internet Connection sharing or Network Bridging Wi-Fi and the LAN device connected,) my tv or the laptop won't connect to the internet. My main pc works totally fine, showing the ip of my Linux server.
If i disconnect the vpn, both the tv and my laptop get a connection.
I assume this has to do with iptables and nat on my Linux server. But i can't figure this out.. Is anyone willing to help me?
All i am trying to do is this: any device that connects to my pc via ethernet, i want to be able to use the VPN connection; that is, my main internet connection must route through vpn for all connections and devices that go through my pc.
I would appreciate any guidance here..