32 Commits

Author SHA1 Message Date
garywill
4022d798b0 License LGPL 2.1 , upstream copyright notice 2018-08-31 18:41:06 +08:00
garywill
887d6059d8 iptables rules with comment 2018-08-31 18:41:06 +08:00
garywill
0338291599 now it works not creating wifi ap 2018-08-31 18:41:06 +08:00
garywill
9cc0f40aa4 cleanup echo
able to list clients via dns lease file

del bridge-nf-call-iptables
2018-08-31 18:41:06 +08:00
garywill
7f03b321f0 rename wifi_iface to subn_iface 2018-08-31 18:41:06 +08:00
garywill
b905ea86f1 disable dnsmasq DNS if no Internet sharing
change inner name from create_ap to lnxrouter
2018-08-31 18:41:06 +08:00
garywill
3039b9a497 transparent proxy 2018-08-31 18:41:06 +08:00
garywill
b7d4a70c24 fix dns log repeated 2018-08-31 18:41:06 +08:00
garywill
d2f659117e change virtual interface name 2018-08-31 18:41:06 +08:00
garywill
7ec3f4bd18 parameters 2018-08-31 18:41:06 +08:00
garywill
0740e16da0 update iptables rules 2018-08-31 18:41:06 +08:00
garywill
49413b62ea differ dns and dhcp-dns 2018-08-31 18:41:06 +08:00
garywill
9fb6099bca enhance dnsmasq 2018-08-31 18:41:06 +08:00
garywill
d13778d47f dns listen 53 2018-08-31 18:41:06 +08:00
garywill
ee18930c84 rename to lnxrouter 2018-08-31 18:41:06 +08:00
garywill
ad1b0e473f --ap and --password 2018-08-31 18:41:06 +08:00
garywill
9cd59d3975 put code into function 2018-08-31 18:41:06 +08:00
garywill
90dc5fdd8d fix _cleanup() didn't judge NO_DNSMASQ 2018-08-31 18:41:06 +08:00
garywill
f31006f401 add var 2018-08-31 18:41:06 +08:00
garywill
47e8e80618 warn if no password 2018-08-31 18:41:06 +08:00
garywill
c75dde77d8 delete piping ssid and password 2018-08-31 18:41:06 +08:00
garywill
10513edb17 not specify internet interface
cancel internet_iface parameter. now internet is shared via any interface
2018-08-31 18:41:06 +08:00
garywill
d31d161842 show iptables change when applying network sharing rules 2018-08-31 18:41:06 +08:00
garywill
c97c3c3b30 change default gateway ip to 18 2018-08-31 18:41:06 +08:00
garywill
052bf9d59f delete dns hijack 2018-08-31 18:41:06 +08:00
garywill
d0c1451995 delete .conf 2018-08-31 18:41:06 +08:00
garywill
5a27e96851 delete uneeded 2018-08-31 18:41:06 +08:00
garywill
8d75d7324e delete bridge method 2018-08-31 18:41:06 +08:00
garywill
6fbd865345 dnsmasq run in frontground 2018-08-31 18:41:06 +08:00
garywill
b8d82dd6c2 fix possible incomplete cleaning up 2018-08-31 18:41:06 +08:00
garywill
a0146ce877 fix port 67 & 5353 accept any interface connection 2018-08-31 18:41:06 +08:00
garywill
517a2ea695 create_ap 2018-08-31 18:41:06 +08:00