Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Port-forward to DNAT Conversion

$
0
0

I have the following interfaces configured:

 

eth0 AKA WAN (dhcp address)
eth1 AKA DMZ
eth7 AKA LAN

 

All outbound traffic from the LAN or DMZ to the WAN is using SNAT.

 

Currently inbound traffic to the DMZ is configured using port-forward. Since logging of automatically generated port-forward firewall rules is unavailable I need to convert them to use DNAT.

 

I've been struggling to find examples of how to configure DNAT with the appropriate firewall rules. So can someone provide examples for the following scenarios:

 

1) WAN traffic on port 25 goes to 192.168.1.101 in the DMZ on the same port.
2) WAN traffic on port 721 goes to 192.168.1.137 port 22 in the DMZ.

 

Once I have these two examples I can finish the conversion of the rest of my port-forward rules.

 

Thanks in advanced.


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>