1,234
edits
Changes
→Port forwarding SSH
** Check that it worked: <source>cat /proc/sys/net/ipv4/ip_forward</source>
* Don't forget to add TCP port 2211 to ops345routersg. If you forget: the traffic will never make it to your iptables rules.
Once you're done you should be able to ssh from your workstation to ww via port 2211 on router:
[[File:AWSportForwardingSetUp.png|800px|border|center]]
There are a lot of variables in this setup. A couple of troubleshooting tools you can use are iptables logs and tcpdump:
* <source>iptables -I FORWARD -j LOG
tail -f /var/log/messages </source>
* <source>tcpdump -n -i eth0 port 2211</source>
= Submit evidence of your work =