View Single Post

  #2 (permalink)  
Old 01-16-2004
Horst Knobloch
 
Posts: n/a
Default Re: Kernel 2.4.22 iptables not NAT'ting outbound PPTP connections

Carl Farrington <carl@000compsup000.net.invalid> wrote:

[only one of multiple pptp connections work]
>
> Is there something I need to specify to iptables get gre/pptp connections
> masqueraded properly?
>
> here's my very basic NAT script at the moment:
>
> /sbin/iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
> echo 1 > /proc/sys/net/ipv4/ip_forward


Have a look to Linux VPN Masquerade document
http://www.impsec.org/linux/masquerade/ip_masq_vpn.html

HTH

Ciao, Horst
--
»When pings go wrong (It hurts me too)« E.Clapton/E.James/P.Tscharn
Reply With Quote