FC9 Linux gateways, VPN working, IP forwarding isn't
Gary Stainburn
gary.stainburn at ringways.co.uk
Sat Jan 24 10:51:57 UTC 2009
On Saturday 24 January 2009 10:06:01 Giany wrote:
> I guess its normal not to pass because the next gateways dont "know" what
> 10.x/192.x ips are.
> I think either you have to export those IPs to the next gateways either you
> enable nat
> for each VPN, smth like iptables -t nat -A POSTROUTING -o eth0 -j
> MASQUERADE (fastest
> way) where eth0 is your interface for internet.
The routing isn't the problem.
Local gateway eth0 10.6.1.1 ppp0 192.168.127.2
Remote gateway eth0 10.1.1.6 ppp0 192.168.127.1
Local routes add -net 10.1.0.0/16 gw 192.168.127.1
traceroute from local gateway to 10.1.1.1 gets as far as 192.168.127.1 and
stops
--
Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
More information about the fedora-list
mailing list