Commit graph

4 commits

Author SHA1 Message Date
Stan Grishin
aa3ff6eea7 vpnbypass: updated service enable/start logic.
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-03-06 07:08:27 -08:00
Stan Grishin
37439f5ac8 vpnbypass: reworked output formatting and logic.
vpnbypass: No longer depends on hardcoded WAN interface name).
vpnbypass: Table ID, IPSET name and FW_MARK as well as FW_MASK can be defined in config file.
vpnbypass: Uses iptables, not ip rules for handling local IPs/ranges.
vpnbypass: More reliable creation/destruction of VPNBYPASS iptables chain.
vpnbypass: Updated Web UI enables/start and stops/disables service.
vpnbypass: Beautified output.

Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-03-05 06:36:11 -08:00
Stan Grishin
42d00b19ed vpnbypass: HOTFIX no longer incorrectly stopping service/reliable start
fixed: stop function used to kill the hotplug file
fixed: despite ubus wait_for network.interface.wan and WAN-IF hotplug, sometimes we'd get no WAN ip on start

Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-02-04 05:25:10 -08:00
Stan Grishin
d23ef292ba vpnbypass: initial commit
Signed-off-by: Stan Grishin <stangri@melmac.net>

vpnbypass: fixed renamed option in stop_service

Signed-off-by: Stan Grishin <stangri@melmac.net>

vpnbypass: fixed typo in makefile, switch FW_MARK to 0x010000 to play nice with SQM/mwan (thanks Hannu)

Signed-off-by: Stan Grishin <stangri@melmac.net>

vpnbypass: proper masking in setting mark

Signed-off-by: Stan Grishin <stangri@melmac.net>

vpnbypass: separating luci-app-vpnbypass into different tree

Signed-off-by: Stan Grishin <stangri@melmac.net>

vpnbypass: fixed incorrect use of procd_add_reload_interface_trigger according to http://wiki.prplfoundation.org/wiki/Procd_reference

Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-01-27 04:24:39 -08:00