1,576
edits
Changes
→Part 3: Adding Forwarding Firewall Rule Exceptions
== Part 3: Adding Forwarding Firewall Rule Exceptions ==
# Create a firewall rule to allow forwarded traffic destined for TCP port 8080: <code>iptables -A FORWARD -p tcp --dport 8080 80 -j ACCEPT</code># Create a firewall rule to allow forwarded traffic sent from TCP port 8080: <code>iptables -A FORWARD -p tcp --sport 8080 80 -j ACCEPT</code>
# Watch your firewall rules and their packet counters with the following command: <code>watch iptables -L -vn --line-numbers</code>
# In a browser on your own computer, paste the URL for your Linux VM, adding ''':8080''' to the end of the address, then hit Enter.