Hello all. Just to give you a heads up warning; I'm pretty new to
working with firewalls (sysadmin in training). Here's my problem. We
have a firewall setup in our office. In the office; we have a server
with a mirror of our websites. I need to set it up so that it can be
viewed from outside the firewall.
These are the commands I used to set it up; ideally trying to get all
packets meant for the server to be forwarded on to the actual box.
Note : the http ports are intentionally not on 80
1.) iptables -t nat -A PREROUTING -i eth0 -p tcp -dport 123 -j DNAT
--to 192.168.1.12
2.) iptables -A FORWARD -o eth1 -p tcp -d 192.168.1.12 --dport 123 -j
ACCEPT
|