Hi all,
Just joined the list. 

I have a network setup with a linux box used as a packetfilter/nat.
Inside my network I am running several systems. 
Im working on getting pptp through my Linux NAT. I have found
documentation on how to do this, however all of the documentation that I
have found uses either ipfwd or ipportfw. I need to accomplish this with
ipmasqadm. From what I understand the ipmasqadm replaced the ipfwd and
ipportfw commands somewhere in the 2.2.x kernel. Is this right? 

lets assume the server that I am trying to reach is: 10.0.0.99
my linux box running nat, public ip is: 216.232.243.210
I currently am able to forward tcp traffic to this with the following
command:
ipmasqadm portfw -a -P tcp -L 216.232.243.210 80 -R 10.0.0.99 80
forwarding all www traffic to my internal box.

With PPTP I need to forward all traffic with Protocol ID of 47 (0x2F) in
the same manner. The documentation I have found has the following
example:

/sbin/ipfwd --masq 10.0.0.99 47 &

I have tried the following:
ipmasqadm portfw -a -P 47 -L 216.232.243.210 -R 10.0.0.99
and
ipmasqadm portfw -a -P ip -L 216.232.243.210 47 -R 10.0.0.99 47
and
ipmasqadm portfw -a -P 0x2F -L 216.232.243.210 -R 10.0.0.99

all return the same error: portfw: invalid protocol specified

Any Ideas??

Thanks

Dave

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to