[Openswan Users] Can't use tunnel on roadwarrior connection

Eugenio Vescovi eugevesco at hotmail.com
Mon Sep 1 18:29:45 EDT 2008


I was trying to establish a roadwarrior connection between my home pc(private ip address 192.168.1.32; public ip 151.49.x.x) connected to internet by an adsl router(192.168.1.1), and my company's LAN(public ip 79.38.x.x) connected to internet by adsl router(192.168.2.1).
I use the home pc as roadwarrior, while the machine 192.168.2.238 inside company's LAN as Server side f the connection.

Here the two configuration file.

CLIENT
config setup
    interfaces=%defaultroute
    klipsdebug=none
    plutodebug=all
    nat_traversal=yes

conn Prova
    left=79.38.2.172
    leftsubnet=192.168.2.0/24                        
       leftrsasigkey=***
                        
    right=%defaultroute
    rightnexthop=192.168.1.1
    rightid=@client
    leftid=@server
   
rightrsasigkey=***
    auto=start
    authby=rsasig

SERVER
config setup
    interfaces=%defaultroute
    virtual_private=%v4:10.0.0.0/8,%v4:192.168.1.0/24
    klipsdebug=none
    plutodebug=all
    nat_traversal=yes

conn Prova
    left=192.168.2.238
    leftsubnet=192.168.2.0/24
    leftnexthop=%defaultroute
    right=%any
    rightid=@client
    leftid=@server
    rightrsasigkey=***
    leftrsasigkey=***
    auto=start
    authby=rsasig
The comand /etc/init.d/ipses status tell me the tunnel is up, but i'm not able to ping neither the gateway and the other pc of the LAN.
Say during pinging the gateway, by wireshark or tcpdump, i can see(on the gateway) ESP packets from 151.49.*.* to 192.168.2.238 and icmp packets from 192.168.1.32 to 192.168.2.238(the gateway on the lan, of course.).
Please try to help me, I'm working hard in this project from over a month and i can't go on now, and i don't know why!!Everything look so easy but it doesn't work.

Thank you in advance,
Eugenio Vescovi.

_________________________________________________________________
Screensaver e sfondi… Scaricali dallo Spaces di Doretta!
https://cid-97b0d995232b954a.skydrive.live.com/home.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20080902/e7a2cf34/attachment.html 


More information about the Users mailing list