Page 1 of 1

How to forward ports from inside my network to the outside world Outgoing and incoming

Posted: Thu Sep 08, 2016 10:26 pm
by smallville8vdm
Good day All,

I am struggling with some basic stuff. I have Server that needs info from some agents/probes inside another network. They need to query the server. So i do know how forward from the outside say 1.34.5.2:8443 to 192.168.0.2:443 inside(dst-nat). But i dont know how to open up all ips from the inside open to the outside ?

Help will be appreciated.

Regards
Hannes

Re: How to forward ports from inside my network to the outside world Outgoing and incoming

Posted: Fri Sep 09, 2016 1:42 am
by kaptain46
Hi,
sorry but your question is very ... confused.

I see you know how to forward port/service from outside to inside your net using dst-nat, but I don't know what you mean with "But i dont know how to open up all ips from the inside open to the outside".

If you haven't set any specific firewall rule, all request from inside your net to outside (Internet) don't need any specific settings to and all reply to them will be forwarded by NAT functionalities without any settings.

Re: How to forward ports from inside my network to the outside world Outgoing and incoming

Posted: Sat Sep 10, 2016 4:28 am
by Revelation
To touch on what kaptain46 wrote. You'll need to setup the NAT with masquerade for your traffic on your LAN to use your WAN IP to get out of your network.