This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
unix:networking:openwrt_routing [2014/08/14 06:28] ben [OpenVPN settings] |
unix:networking:openwrt_routing [2014/08/14 06:40] ben [VPN Scripts] |
||
---|---|---|---|
Line 83: | Line 83: | ||
for host in $vpndhosts;do for server in $dnsservers;do ip rule add from $host to $server lookup main;ip rule add from $server to $host lookup main;done;done | for host in $vpndhosts;do for server in $dnsservers;do ip rule add from $host to $server lookup main;ip rule add from $server to $host lookup main;done;done | ||
- | /opt/etc/scripts/port_forward_update.sh | + | /opt/etc/scripts/port_forward_update.sh & |
</code> | </code> | ||
Line 160: | Line 160: | ||
</code> | </code> | ||
+ | <note important>Fix needed: There's actually a logical flaw here- if the router goes down then the new port won't match and the sed match there will fail, not updating the port.</note> | ||
===== Scheduled port forward update ===== | ===== Scheduled port forward update ===== | ||