Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

At work we have a firewall between two networks. I was told they opened up the two ports for me but I needed to modify the IPtables to allow packets to go through. I'm not familiar with the correct IPtable for using NAT.

Since I can't give the IP's, I'm going to use made up ones.

Destination: <-> Make sure to use NAT to access from Firewall network
Ports: tcp/22

Not sure if the following makes a difference is an external IP behind a firewall is an internal IP is external IP

Currently, INPUT, FORWARD, OUTPUT are all default to DROP. I'm assuming both servers will need to have a rule to allow this?

Thanks for your help!

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.