iptables and pptp vpn
I want to allow pptp traffic through my smoothwall firewall. Smoothwall uses iptables. I was told this was what I had to enter for it to work. “iptables -t nat -A portfw -p 47 -i eth1 -j DNAT --to 172.16.0.2” Eth1 is my internet connection. 192.16.0.2 is my windows vpn server. I also forwarded port 1723. But it won’t work. Is there an error in the command for forwarding protocol 47.
|
What's the error message?
protocol 47 is correct, but "portfw" may not be a valid chain. It should be in the prerouting chain. |
I don't no where to find the error msg.I put the command at the end of this file. /etc/rc.d/rc.network. Should it be somewhere ells.
|
Unless you are running SmoothWall GPL 2.0 beta, you are running a 2.2.x series kernel and ipchains.
For information on how to forward ports etc. for Smoothwall GPL 1.0 look here. |
I am running gpl2b4. That is the one i need help with.
|
try typing in that iptables line manually and see if any errors come up.
|
|
All times are GMT -5. The time now is 08:33 AM. |