My iptables is configured the as in that guide along with the following additions:
Code: Select all
iptables -A FORWARD -p GRE -i eth0 -s 192.168.2.0/255.255.0.0 -j ACCEPT
iptables -A FORWARD -p tcp -i eth0 -s 192.168.2.0/255.255.0.0 --dport 1723 -j ACCEPT
iptables -A FORWARD -p GRE -i ppp0 -d 192.168.2.0/255.255.0.0 -j ACCEPT
iptables -A FORWARD -p tcp -i ppp0 -d 192.168.2.0/255.255.0.0 --dport 1723 -j ACCEPT
I have compiled GRE connection tracking into the kernel.
To be clear, there are only VPN clients on the LAN (not servers) that want to connect to arbitrary external VPN servers (this works with an SMC router).
Thanks for any help.
The output of iptables -L is below:
Code: Select all
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
REJECT udp -- anywhere anywhere udp dpt:bootps reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpt:domain reject-with icmp-port-unreachable
DROP tcp -- anywhere anywhere tcp dpts:0:1023
DROP udp -- anywhere anywhere udp dpts:0:1023
Chain FORWARD (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere 192.168.0.0/16
ACCEPT gre -- 192.168.0.0/16 anywhere
ACCEPT tcp -- 192.168.0.0/16 anywhere tcp dpt:1723
ACCEPT gre -- anywhere 192.168.0.0/16
ACCEPT tcp -- anywhere 192.168.0.0/16 tcp dpt:1723
ACCEPT all -- 192.168.0.0/16 anywhere
ACCEPT all -- anywhere 192.168.0.0/16
Chain OUTPUT (policy ACCEPT)
target prot opt source destination



