Skip to contentSkip to conversation

pptp_conntrack_nat compatability & dependencies

DISCUSSION Jeremy 1 participant 1 message Jul 24, 2003

lore
Share & tools
lore

Jeremy

author
#0 lore raw

Hi Everyone,

Here is something simple.

I want to clarify the following:
What kernelversion, what iptables version and what OTHER patches (i.e. helpers) etc. do I need to get this working correctly.

I run debian linux, and have tried the following:

Originial Configuration
--------------------------
Vanilla 2.4.20 kernel, iptables 1.2.6a, pom patch applied cleany, re-compiled cleanly. rebooted, and any postrounting commands give 'invalid argument'

Other configurations tried
----------------------------
Vanilla 2.4.21 kernel, iptables 1.2.6a - same problem Vanilla 2.4.21 kernel, iptables 1.2.7a - same problem Vanilla 2.4.21 kernel, iptables 1.2.8 - same problem Vanialla 2.4.19 - iptables 1.2.6a or 1.2.8 - same problem

the command Is just:
$IPTABLES -t nat -A POSTROUTING -o $INET_IFACE -j SNAT --to-source $INET_IP

error occurs when running as a script or typing in the values from a shell.

Do i just have an incompatability problem here? or is there something fundamental i'm doing wrong. Any help much appreciated.

(about to throw this box out the window)