Hello,

I'm trying to configure a single host from my lan to be routed to 
internet through a VPN connected on my shorewall router. All other hosts 
are routed to internet directly.

Sadly, I can't get that working...


The router is configured as:

wan: 192.168.178.254, gw 192.168.178.1 (ISP to internet); with SNAT

tun99: 10.100.0.6, gw 10.100.0.1 (OpenVPN, internet with SNAT on 
server-side, working fine if static routing is done)

brlan: 10.1.0.254


What I'm trying to achieve is that any 10.1.0.0/24 reach internet 
through "wan" except 10.1.0.9 which is using "tun99" instead.


I tried the following:


snat:

SNAT(192.168.178.254)    10.1.0.0/24        wan


providers:

ISP    1    1    -        wan        192.168.178.1 track        -
VPN    2    2    -        tun99      10.100.0.1 track        -


rtrules:

10.1.0.0/24        -            ISP        1000

10.1.0.9/32        -            VPN        1001


Can you help me figuring out what's wrong ?


Thanks in advance,


Best regards, Adam.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to