Changes

Jump to: navigation, search

OPS345 Lab 3

87 bytes added, 04:06, 2 January 2022
Port forwarding for HTTP
* Don't forget to save the new set of iptables rules.
Remember that there are also security groups with rules that block access to ports.
* Edit Add a rule to ops345routersg to allow incoming access to port 80 from anywhere.* On router: iptables -t nat -I PREROUTING -p tcp --dport Add a rule to ops345wwsg to allow incoming access to port 80 -j DNAT --to 10.3.45from ops345routersg only.11:80* On wwwTest your setup by connecting to your router's public IP address using Firefox on your workstation: iptables -I INPUT 3 -p tcp --dport 80 -j ACCEPT* service iptables save* Edit security group, allow HTTP* ss -atnp on router and www[[File:AWSHTTPForwardingWorks.png|800px|border|center]]
== Make a proper PHP webpage ==

Navigation menu