fixup! Add jabber http 6tunnel redirection.

parent f5bde3fb
...@@ -33,7 +33,7 @@ if not os.path.exists(disk_path): ...@@ -33,7 +33,7 @@ if not os.path.exists(disk_path):
disk_path, '%(disk_size)sG']) disk_path, '%(disk_size)sG'])
# Generate NAT rules # Generate NAT rules
nat_rules = 'hostfwd=tcp:%(vnc_ip)s:2222-:22,hostfwd=tcp:%(vnc_ip)s:2525-:25,' + ','.join("hostfwd=tcp:%(vnc_ip)s:%%s-:%%s" %% (port, port) for port in [80, 110, 143, 443, 465, 587, 993, 995, 7071]) nat_rules = 'hostfwd=tcp:%(vnc_ip)s:2222-:22,hostfwd=tcp:%(vnc_ip)s:2525-:25,' + ','.join("hostfwd=tcp:%(vnc_ip)s:%%s-:%%s" %% (port, port) for port in [80, 110, 143, 443, 465, 587, 993, 995, 7071, 8080])
kvm_argument_list = ['%(qemu_path)s', kvm_argument_list = ['%(qemu_path)s',
'-enable-kvm', '-net', 'nic,macaddr=%(mac_address)s', '-enable-kvm', '-net', 'nic,macaddr=%(mac_address)s',
......
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