wan nat redirection or nat loopback
Thomas Woerner
twoerner at redhat.com
Wed Jun 11 11:20:41 UTC 2014
On 06/04/2014 07:03 PM, Samuel Irlapati wrote:
> I have fedora 20 machine which i am using as a router. it has two lan
> cards, p2p1 (external) and p6p1 (internal). I would like to test some
> servers from within the local network but by using the public ip address
> given by ISP. It does not work now. I realize i need some kind of nat
> loopback or wan redirection to work. Can someone please tell me how i do
> this with firewalld?
>
Enable masquerading for the zone that is bound to the external
interface. You can use the external zone for this, masquerading is
enabled in this zone already.
Then add port forwarding rules in the external zone for all services
that you want to want to have available externally.
Please make sure that you are setting the to address to the internal IP
address of the machine providing the services.
> _______________________________________________
> firewalld-users mailing list
> firewalld-users at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/firewalld-users
More information about the firewalld-users
mailing list