The_Unbeliever
Honorary Master
Installed SME Server and Smoothwall today.
Portforwarded port 1723 to the SME box. VPN works like a dream.
Now... if I portforward port 1723 to an M$ box, VPN refuses to work, unless you add the following script to rc.firewall.up :
(been there, done that, got the T-shirt)
Why are M$ stuff so different?
bleugh....
Portforwarded port 1723 to the SME box. VPN works like a dream.
Now... if I portforward port 1723 to an M$ box, VPN refuses to work, unless you add the following script to rc.firewall.up :
(been there, done that, got the T-shirt)
Code:
http://martybugs.net/smoothwall/vpn.cgi
vpnserver="172.16.0.2"
/sbin/iptables -N pptp
/sbin/iptables -A pptp -p tcp --destination-port 1723 --dst $vpnserver -j ACCEPT
/sbin/iptables -A pptp -p 47 --dst $vpnserver -j ACCEPT
/sbin/iptables -I FORWARD -j pptp
/sbin/iptables -t nat -N pptp
/sbin/iptables -t nat -A pptp -i $RED_DEV -p tcp --dport 1723 -j DNAT --to $vpnserver:1723
/sbin/iptables -t nat -A pptp -i $RED_DEV -p 47 -j DNAT --to $vpnserver
/sbin/iptables -t nat -A PREROUTING -j pptp
Why are M$ stuff so different?
bleugh....