[Openswan Users] VPN ; - Linux as VPN client , routing problem[SOLVED]

Paul Wouters paul at xelerance.com
Wed Dec 6 11:45:33 EST 2006


On Wed, 6 Dec 2006, John Joseph wrote:

>    Thanks , I am able to connect to the VPN , and
> route  all the traffic through ppp0.This is what I had
> done , after the connection was established.
>
>
> #####################################################
>
> route del -net 169.254.0.0 netmask 255.255.0.0
> route add default gw 192.168.168.167 ppp0
> route add -host AAA.BB.CC.DD dev eth0
> route add -host AAA.BB.CC.DD  gw 10.0.0.1 dev eth0
> route add -host 10.0.0.1 dev eth0
> route del default gw 10.0.0.1 dev eth0
>
> ##
> AAA.BB.CC.DD ==> Public IP address of VPN server
> ##################################

did you specify "defaultroute" in the ppp options?

> This I had tried using CentOS .
> I do have plan to try  FreeSwan  on  LinkSys  router
> with OpenWrt installed

openwrt comes with openswan now. just run ipkg update and
ipkg install openswan.

Paul


More information about the Users mailing list