iptables rule
This commit is contained in:
parent
fb6f43aadd
commit
f69a67b8ac
2 changed files with 5 additions and 4 deletions
|
@ -9,5 +9,7 @@ Python RESTful API for managing a grid of vm slaves
|
||||||
4. create nginx vhost via the provided template files:
|
4. create nginx vhost via the provided template files:
|
||||||
- config.ini.dist
|
- config.ini.dist
|
||||||
- nginx_example_vhost.txt
|
- nginx_example_vhost.txt
|
||||||
5. o/
|
5. make sure this iptables rule is included:
|
||||||
|
iptables -A tcp_inbound -p TCP --match multiport --dports 6900:8000 -j ACCEPT #vnc range
|
||||||
|
6. o/
|
||||||
```
|
```
|
||||||
|
|
5
novnc.py
5
novnc.py
|
@ -23,6 +23,5 @@ def spawn(target, options):
|
||||||
args = shlex.split(command_line)
|
args = shlex.split(command_line)
|
||||||
p = subprocess.Popen(args)
|
p = subprocess.Popen(args)
|
||||||
print('spawned!')
|
print('spawned!')
|
||||||
|
except:
|
||||||
:w
|
raise
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue