[Openswan Users] Routing through an ipsec tunnel

Steve Reed sreed at counselschambers.com.au
Wed Mar 16 14:36:31 CET 2005


I was wondering yet if it is possible to route through a swan tunnel:

Roadwarrior (192.168.2.1)
|
|
|
VPN Gateway(inet IP)
Internal NIC (10.1.2.253)
	Static route added on linux machine so networks can
communicate(route add -net 10.1.2.0/24 gw 10.2.2.1)
Aliased IP on internal NIC(10.2.2.10/24)
|
|
|
Cisco Router interface(10.2.2.1/24)
	Static route added here (ip route 10.1.2.253 255.255.255.255
10.2.2.10)
	Static route added here (ip route 192.168.2.0 255.255.255.0
10.1.2.253)
|
|
|
Host on 10.1.2.0/24


Logging in to the Linux box I can ping nodes on the 10.1.2.0/24 net fine and
also ping the vpn gateway internal interface from any node on the
10.1.2.0/24 network.
The road warrior authenticates fine but can only ping the internal interface
on the vpn gateway (10.1.2.253).




More information about the Users mailing list