Can't forward Win2k VPN through NAT
hi all
I have this fw as sketched below. What I want, is to enable win2k VPN connection NATed into 192.168.144.24.
Can someone help me here? It just doesn't work ...
roy
+------+
eth2 | | eth1
SHDSL --+ fw +----------- LAN
| |
+---+--+
eth0 |
|Chain PREROUTING (policy ACCEPT)
target prot opt source destination DNAT udp -- 62.70.77.66 213.187.163.162 udp dpt:1723 \
to:192.168.144.24
DNAT tcp -- 62.70.77.66 213.187.163.162 tcp dpt:3389 \
to:192.168.144.24:3389
DNAT tcp -- 62.70.77.66 213.187.163.162 tcp dpt:1723 \
to:192.168.144.24:1723
DNAT gre -- 62.70.77.66 213.187.163.162 to:192.168.144.24
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination SNAT 47 -- 192.168.144.24 0.0.0.0/0 to:213.187.163.162 MASQUERADE all -- 192.168.0.0/16 !192.168.0.0/16
Signature · 6 lines
Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows.
Quoted 6 lines · Roy Sigurd Karlsbakk
hi all
I have this fw as sketched below. What I want, is to enable win2k VPN connection NATed into 192.168.144.24.
Can someone help me here? It just doesn't work ...
You;re right. It doesn't work.
PPTP doesn't like being NATted, because it embeds addressing information inside the protocol.
You need to load the pptp helper module in netfilter to stand any chance of
getting this going. Look for pptp_conntrack_nat.
I think the sig on your email was highly appropriate to the situation, however:
"Computers are like air conditioners.
They stop working when you open Windows."
Antony.
Signature · 5 lines
You can spend the whole of your life trying to be popular, but at the end of the day the size of the crowd at your funeral will be largely dictated by the weather. - Frank Skinner
Hi Antony:
Off the top of your head, do you know what the first
Version of iptables that pptp_conntrack_nat was implemented?
Stu..........
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Antony Stone
Sent: September 6, 2002 7:22 AM
To: Netfilter mailinglist
Subject: Re: Can't forward Win2k VPN through NAT
Quoted 6 lines · Roy Sigurd Karlsbakk
hi all
I have this fw as sketched below. What I want, is to enable win2k VPN connection NATed into 192.168.144.24.
Can someone help me here? It just doesn't work ...
You;re right. It doesn't work.
PPTP doesn't like being NATted, because it embeds addressing information inside the protocol.
You need to load the pptp helper module in netfilter to stand any chance of
getting this going. Look for pptp_conntrack_nat.
I think the sig on your email was highly appropriate to the situation, however:
"Computers are like air conditioners.
They stop working when you open Windows."
Antony.
--
You can spend the whole of your life trying to be popular, but at the end of the day the size of the crowd at your funeral will be largely dictated by the weather.
- Frank Skinner
Quoted 4 lines · Stewart Thompson
Hi Antony:
Off the top of your head, do you know what the first
Version of iptables thatpptp_conntrack_natwas implemented?
No idea - sorry.
All I can say is that I've seen many postings on this list over the weeks and months about people trying to get PPTP working effectively (especially through iptables and NAT), so you should be able to find plenty of information in the archives at http://lists.netfilter.org/pipermail/netfilter
Antony.
Signature · 2 lines
This is not a rehearsal. This is Real Life.
HI Antony:
I have seen the same posts, and judging by the replies,
or lack thereof. It is generally been a dismal failure. I don't have a pressing need for VPN right now, but I can see the possibility in the future, so I have been following the discussion. Thanks.
Stu..........
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Antony Stone
Sent: September 6, 2002 2:22 PM
To: Netfilter mailinglist
Subject: Re: Can't forward Win2k VPN through NAT
Quoted 4 lines · Stewart Thompson
Hi Antony:
Off the top of your head, do you know what the first
Version of iptables thatpptp_conntrack_natwas implemented?
No idea - sorry.
All I can say is that I've seen many postings on this list over the weeks and
months about people trying to get PPTP working effectively (especially through iptables and NAT), so you should be able to find plenty of information in the archives at
http://lists.netfilter.org/pipermail/netfilter
Antony.
--
This is not a rehearsal.
This is Real Life.