Any plans for Merlin FW to implement policy based routing similarly to OpenVPN?
None.
Any plans for Merlin FW to implement policy based routing similarly to OpenVPN?
#!/bin/sh
/jffs/scripts/vpnc-ip-up $@
VPN_GW="192.168.1.140"
VPN_SUBNET="192.168.1.0"
VPN_NETMASK="255.255.255.0"
VPN_DEV="ppp5"
ip route delete default via ${VPN_GW} dev ${VPN_DEV}
route -n add -net ${VPN_SUBNET} netmask ${VPN_NETMASK} ${VPN_DEV}
ip route add default dev ${VPN_DEV} table 3
logger Traffic to ${VPN_GW} dev ${VPN_DEV} configured for split tunnel
#!/bin/sh
logger Installing pptp script
sleep 20
cd /tmp/ppp/
rm /tmp/ppp/vpnc-ip-up
ln -s /jffs/scripts/pptp-up.sh vpnc-ip-up
service restart_vpncall
logger pptp script installed
<snip>...when I fire up the PPTP VPN client then all devices are assigned to the tunnel, not just the client device 192.168.1.140
ip route | grep default
ip rule add from 192.168.1.140 table 3 prio 9000
ip route flush cache
ip rule

Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!