Commit Graph

28 Commits

Author SHA1 Message Date
garywill c75ca0ce81 support IPv6
nat method sets global forwarding and don't restore when exit

use <<-
2018-08-31 18:41:06 +08:00
garywill 8970ba2607 run hostapd before setting ip 2018-08-31 18:41:06 +08:00
garywill 258181055c version 0.5.2
add lxd
2018-08-31 18:41:06 +08:00
garywill 749b82a137 fix TMPDIR
better cleanup

dump support for old dnsmasq and networkmanager
2018-08-31 18:41:06 +08:00
garywill c69d7daa89 simply use nmcli to handle networkmanager
only support NM >= 0.9.9
2018-08-31 18:41:06 +08:00
garywill 650d78d456 version 0.5.1 2018-08-31 18:41:06 +08:00
garywill 251c0aec40 when interface and NetworkManager in different namespace
https://github.com/oblique/create_ap/pull/317
2018-08-31 18:41:06 +08:00
garywill 1e80edff82 delete uneeded code 2018-08-31 18:41:06 +08:00
garywill 0370cc1895 better cleanup and watchdog
delete lock

better exit

conf readable for users
2018-08-31 18:41:06 +08:00
garywill eebe767a19 hostapd foreground 2018-08-31 18:41:06 +08:00
garywill 47844d7049 change signal trap
fix waiting for pid file loop
2018-08-31 18:41:06 +08:00
garywill f816160fc1 use memory as temporary dir if available 2018-08-31 18:41:06 +08:00
garywill ddb59d3237 fix dnsmasq and hostapd pid 2018-08-31 18:41:06 +08:00
garywill 7815bce574 iptables NAT rule: do not masquerade client to client connections 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