Hello,
I'm having problems setting up port forwarding for PPTP on a Linux Box to a
W2k VP-server.
I'm running Suse 7.2 with a 2.4.19 Kernel with PPTP-Masquerade patch
applied.
I managed to connect to my Server using its IP,but cannot get port
forwarding to run.
My setup:
Linux Box:
3 NICs:
eth0 172.23.71.99/20 to internal LAN
eth1 192.168.0.23/24 to Router-Subnet
eth2 192.168.10.1/24 to DMZ
W2K:
192.168.10.2/24 in the DMZ
iptables FORWARD policy is set to "ACCEPT",
I added with
iptables -t nat -D PREROUTING -i eth0 -p udp --dport 1723 -j DNAT --to
192.168.10.2:1723
iptables -A PREROUTING -i eth0 -p 47 -j ACCEPT --to 192.168.10.2
port forwarding for TCP port 1723 and GRE to the Windows server. Port
forwarding itself works, I tested that by forwarding port 80 to a apache
server running on the W2K-box.
Accessing the W2K-box with its IP was possible using SNATing traffic on eth2
to the Linux box's IP.
When trying out port forwarding I watched the traffic on eth2 and saw eth2
sending packets to the W2k-box but no responses.
Any Idea?
Thanks, Simon
|