I wrote some basic IPTable rules and everything seems to work: http://termbin.com/2vqj7
I'm not sure if these iptable rules are secure enough or if it can be simplified. Could someone review it?
This is the topology I want:
Code: Select all
Internet | | VPN (tun0) | | PC Router (eth0) | LAN (eth1)