Open main menu

CDOT Wiki β

Changes

OPS705 Lab 4

No change in size, 20:14, 29 January 2023
m
Part 3: Adding Forwarding Firewall Rule Exceptions
== Part 3: Adding Forwarding Firewall Rule Exceptions ==
[[Image:Ops705_lab4_forward_rules.png|thumb|right|300px500px|Figure 8: View of the default tables with our IP forwarding rules added.]]
# Create a firewall rule to allow forwarded traffic destined for TCP port 80: <code>iptables -A FORWARD -p tcp --dport 80 -j ACCEPT</code>
# Create a firewall rule to allow forwarded traffic sent from TCP port 80: <code>iptables -A FORWARD -p tcp --sport 80 -j ACCEPT</code>