Commit Graph

9 Commits

Author SHA1 Message Date
Stan Grishin d7b0dc611f vpnbypass: better start/stop from Web UI and triggers
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-01-25 19:16:35 -08:00
Stan Grishin 1a2ab076f0 vpnbypass: linted (shellshock) init script, modified README. 2017-03-19 18:28:28 -07:00
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 891f970c3e vpnbypass: fixed makefile and removed screenshot from .files/
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-02-14 18:23:07 -08:00
Stan Grishin 7a484df6cb vpnbypass: updated README (linked from luci app)
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-02-13 20:04:59 -08:00
Stan Grishin a7a003a720 vpnbypass: new service triggers, typo fix, more reliable start
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-02-13 01:01: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