[Openswan Users] VPN with virtual nic

Julien Bonjean julien.bonjean at savoirfairelinux.com
Tue Dec 9 09:27:34 EST 2008


Hi Saavik,

I had a similar problem with netkey and virtual interfaces, Openswan was 
not adding a correct route so VPN was unreachable. The solution for me 
was to patch updown script.
Regards,

Julien

scotty_beamer at web.de wrote:
> Hello!
>
> I have a PC connected to a net via VPN ( which is starting just fine) but i am not able to ping any pc in the VPN.
>
> My PC has one nic with 2 IPs as I am not able to use the DMZ network for that connection.
>
> So I have eth3 with IP A and eth3:0 with IP B.
>
> IP B needs to be used for the VPN connection.
>
> How I just mentiened the VPN comes up just wonderful but when I ping a pc in the VPN i can not see any traffic via iptables in the vpn, so i think the routing is wrong.
>
> I added :
>  interfaces="ipsec1=eth3:0"
>
> But that does not make any difference.
>
> Does anybody have an idea how i can force the client to use the VPN-Tunnel ?
>
> Thanks!
>
> Saavik
>   

-- 
Julien Bonjean
Consultant en logiciel libre
Savoir-faire Linux
http://www.savoirfairelinux.com
Tel : (514) 276-5468 ext 139

-------------- next part --------------
A non-text attachment was scrubbed...
Name: julien_bonjean.vcf
Type: text/x-vcard
Size: 376 bytes
Desc: not available
Url : http://lists.openswan.org/pipermail/users/attachments/20081209/f84ee3a8/attachment-0001.vcf 


More information about the Users mailing list