Skip to contentSkip to conversation

PPTP NAT

DISCUSSION Harald Welte 1 participant 1 message Jan 18, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1042821169.13896.22.camel@torwood

#1 lore raw
Quoted 8 lines · Colin Simpson

Sorry to annoy you about this but I'm having real problems with the pptp-conntrack-net netfilter patch. I have tried looking around the web but no one seems to talk much about how to fix this.

I have patched with patch-o-matic the 2.4.20 kernel. It seems to apply ok and build. But I now get the following when I try to apply any SNAT rule

Quoted 6 lines

iptables -t nat -p tcp -A POSTROUTING -s 192.168.77.0/24 -j SNAT --to-source 80.195.55.115:1024-65535
iptables v1.2.7a: Unknown arg `--to-source'
Try `iptables -h' or 'iptables --help' for more information.

Am I missing something?

yes, you need to rebuild the iptables userspace package, since the size of some NAT related structures have changed.

Quoted 2 lines

Colin Simpson
Network Manager

Signature · 4 lines
- Harald Welte / [email protected]               http://www.gnumonks.org/
============================================================================
"If this were a dictatorship, it'd be a heck of a lot easier, just so long
 as I'm the dictator."  --  George W. Bush Dec 18, 2000