[Openswan Users] no default routes

Chris McKeever techjedi at gmail.com
Mon Sep 20 10:11:49 CEST 2004


new user here -- trying to trudge through the documentation,
unfortunately I havent found an answer to my question

ipsec showdefaults
#dr: no default route
# no default route
# no default route

I have two network cards, eth0/eth1 
eth1 being the public side and eth0 being the private side

route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
192.168.250.0   *               255.255.255.0   U     0      0        0 eth1
192.168.250.0   *               255.255.255.0   U     0      0        0 ipsec0
default         192.168.0.254   0.0.0.0         UG    0      0        0 eth0

If I leave interfaces=%defaultroute, then I get the ipsecn message,
when I explicitly define ipsec0=eht1 , I can see the connections
trying but unfortunately, the leftnexthop is defined wrong.

I am trying to VPN through a switch
(if you are wondering why - the switch is a wireless access point - so
I am trying to only let authenticated users onto the lan)

client(192.168.250.20) -- 192.168.250.1/left gateway/192.168.0.13

config setup
        interfaces="ipsec0=eth1"
        klipsdebug=none
        plutodebug=none
        plutoload=%search
        plutostart=%search
        plutowait=no
        uniqueids=yes

conn %default
        keyingtries=0

conn statis
        left=192.168.250.1
        leftsubnet=192.168.0.0/24
        leftnexthop=192.168.250.10     <---- definately doesnt work
        right=%any
        #rightsubnet=192.168.200.0/24
        #rightnexthop=192.168.250.1
        compress=no
        auto=add
        ike=aes,3des
        esp=aes,3des


any suggestions?


More information about the Users mailing list