andresmorago
Senior Member
hello @Martineau
i got this to work so all vpn clients are routed through the other vpn.
vpnclient1-route-up
quick question: how do i undo this so the clients are now routed back throught the routers wan?
i tried by running
but now clients will have no internet access
i got this to work so all vpn clients are routed through the other vpn.
vpnclient1-route-up
Code:
#!/bin/sh
logger -st "($(basename "$0"))" $$ Starting Script Execution JAJA
sh /jffs/scripts/x3mRouting/load_MANUAL_ipset_iface.sh 1 amazon_vpn
iptables -D POSTROUTING -t nat -s 10.0.1.0/24 -o tun11 -j MASQUERADE
iptables -I POSTROUTING -t nat -s 10.0.1.0/24 -o tun11 -j MASQUERADE
logger -st "($(basename "$0"))" $$ Ending Script Execution
quick question: how do i undo this so the clients are now routed back throught the routers wan?
i tried by running
Code:
iptables -D POSTROUTING -t nat -s 10.0.1.0/24 -o tun11 -j MASQUERADE
but now clients will have no internet access