diff options
author | ache <ache@ache.one> | 2023-12-02 08:12:05 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2023-12-02 08:12:05 +0100 |
commit | 0f4af458165456e530e135d1ad94808006eeb1a7 (patch) | |
tree | ae97021b340dffc1a0c9f954a5e04a5ae19a1e45 | |
parent | Update pyhttpd to parse cli arguments (diff) |
Activate IPv6 forwarding
-rwxr-xr-x | autoDHCP.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autoDHCP.py b/autoDHCP.py index 247d2f2..cdada36 100755 --- a/autoDHCP.py +++ b/autoDHCP.py @@ -74,7 +74,7 @@ def menu(listEntry, strInput, refresh=None) -> int: ip = '10.5.6.11' netRange = '24' -ssid = '🦄_🌈' +ssid = '🦖' password = 'chocoball' hostapd_conf = ''' @@ -253,6 +253,7 @@ if __name__ == '__main__': if arg.teth: os.system('sysctl net.ipv4.ip_forward=1') + os.system('sysctl net.ipv6.conf.all.forwarding=1') os.system(f'iptables -t nat -A POSTROUTING -o {inetInt} -j MASQUERADE') os.system('iptables -A FORWARD -m conntrack --ctstate' ' RELATED,ESTABLISHED -j ACCEPT') |