Re: Want to setup either tunnel or vpn server on my machine
I would reccomend using OpenVPN over PPTP - has higher performance
Originally Posted by jasonto
When creating a VPN, you technically create a gateway server on the host computer. As a result, with some configurations, your network is accessable when using the VPN.
You can probably create a Iptables rule like
To block it.
iptables -A OUTPUT -p tcp -i [name of VPN Tunnel, i.e. tun0] -d [home router ip] -j ALLOW
iptables -A OUTPUT -p tcp -i [name of VPN Tunnel, i.e. tun0] -d [your home subnet]/24 -j DROP
2. I don't have time to search on the net right now, but most of the ones that you will find that use TUN, and not TAP will work well. Make sure it uses push "redirect-gateway def1" in the guide.
Note: You can also use SSH Tunneling, which would be much less complicated methinks
Ubuntu Forums Moderation Staff
Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.