Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Testing Port Forwarding from inside network?

    I'm curious about something, I have a linux firewall using iptables and port forwarding. If I try to connect to the external port from inside the NAT, the port doesn't seem to be forwarded to the server on the inside network, which means I can't test the port forwarding.

    Does anybody have any detailed insights into why this is or what I can do about it?

  2. #2
    Never test firewall settings from inside the protected network. That is the common "rule of thumb."

  3. #3
    but I want to know why this doesn't work....

    Technically shouldn't the NATted connection go out as if it came from one of the router's dynamically allocated high ports, back to another port on the same router which is forwarded to the internal server , which replies back to the router, which passes it back to the NAT port which passes it to the internal host from which the tcp connection originated.

    I want to create tests to make sure that the external port forwarding is working...

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts