aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautoDHCP.py3
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')