Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
OPS435 Python Lab 8
2 bytes added
,
13:38, 3 January 2018
→
Allow access to Apache through the firewall
<source lang="python">
run("iptables -I INPUT -p tcp --dport 80 -j ACCEPT")
run("iptables-save
>
/etc/sysconfig/iptables")
</source>
Andrew
Bureaucrats
,
Administrators
1,234
edits