Commit 08955fb8 authored by Jondy Zhao's avatar Jondy Zhao

fix missing interfaces of re6stnet-tcp, re6stnet-udp

parent 891a9ca2
...@@ -307,6 +307,7 @@ def main(): ...@@ -307,6 +307,7 @@ def main():
elif server_tunnels: elif server_tunnels:
required('dh') required('dh')
for iface, (port, proto) in server_tunnels.iteritems(): for iface, (port, proto) in server_tunnels.iteritems():
ip('tuntap', 'dev', iface, 'mode', 'tap')
cleanup.append(plib.server(iface, config.max_clients, cleanup.append(plib.server(iface, config.max_clients,
config.dh, write_pipe, port, proto, config.encrypt, config.dh, write_pipe, port, proto, config.encrypt,
'--ping-exit', str(timeout), *config.openvpn_args).stop) '--ping-exit', str(timeout), *config.openvpn_args).stop)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment