Skip to contentSkip to conversation

port forwarding for PPTP Server

DISCUSSION Arnold Rebullida 1 participant 1 message May 17, 2003

lore
Share & tools
lore
#0 lore raw

HI,

I have trying to setup MS PPTP server (192.168.10.11) behind a linux firewall. I used the following scripts eth0 is connected to the internet, eth1 is connected to PPTP server.

echo 1 > /proc/sys/net/ipv4/ip_forward
Iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 1723 -j DNAT --to 192.168.10.11 iptables -t nat -A PREROUTING -i eth0 -p 47 -j DNAT --to 192.168.10.11

it doesn't seem to work. is there anything I missed? My kernel is 2.4.18-14.

please help

thanks

arnold