leftfirewall=yes requires the default _updown script to run.

Remove leftfirewall= and instead use leftupdown= to call your own custom
updown script. Your script will need to manage the firewall in the same
way that _updown does if you also want that feature.

So probably what you should do is clone _updown to a new filename and
modify that, then call the modified script via leftupdown=

On Tue, 2012-09-04 at 20:41 -0700, Mark M wrote:
> Hi,
> 
> 
> I finally got my site-to-site setup working but it only works if i add
> a route into the table 220 routing table. Is it possible to have some
> kind of script run or a connection parameter to use to automatically
> add a route into table 220 when a connection comes up? I need to do a
> simple ""ip route add 192.168.56.0/24 via 192.168.56.1 dev eth0 proto
> static src 192.168.56.1 table 220"
> 
> 
> I tried a leftupdown script but it does not allow it if
> leftfirewall=yes is already being used.
> 
> 
> Thanks,
> 
> 
> Mark-
> 
> _______________________________________________
> Users mailing list
> [email protected]
> https://lists.strongswan.org/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/users

Reply via email to