[Openswan Users] Good old Nat

Fred Strauss stridervc at gmail.com
Tue Aug 16 11:18:07 CEST 2005


> add to config setup:
> 
>         virtual_private="%v4:10.0.0.0/8,%v4:192.168.0.0/16,!%v4:192.168.2.0/8"
> 
> add to your xxx-raodwarrior
> 
>         rightsubnet=vhost:%no,%priv

Woohoo!
Thanx Paul, thanx Jaroslaw!

I played around with the virtual_private setting a bit, since I've
never used it before :)
My setting is now:
virtual_private="%v4:10.0.0.0/8,%v4:192.168.0.0/24,%v4:!192.168.2.0/24"

Looks like the ! had to be after the : and not before the %
It connects succesfully now, now I just have to do the routing and
firewalling for the vpn access, but that I'm sure I'll get sorted out.

Thanks for your help guys, really appreciate it :)

Kind regards
Fred

-- 
Fred Strauss
Obsidian Systems (Pty) Ltd.
http://www.obsidian.co.za - we know xuniL
http://www.strider.co.za/gpg.pub


More information about the Users mailing list