Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NAT Method.

Hello all,

I'm using the ASL 3.052 and i want to configure DNAT rules.
I'm newbie, and i have read the ASL 2.0 documentation, but it's not good explain.
I've 2 NIC Dlink DFE-550TX.
Eth0: 10.0.0.230 (LAN)
Eth1: 62.161.226.102 (WAN)

i wan't to route some ports from Wan to LAN :
62.161.226.102:82 --> 10.0.0.100:82
62.161.226.102:110 --> 10.0.0.51:110
62.161.226.102:25 --> 10.0.0.51:25
62.161.226.102:3389 --> 10.0.0.100:3389
62.161.226.102:1723 --> 10.0.0.250:1723
62.161.226.102:80 --> 10.0.0.100:80

Can you explain me what is the method to do this. What rules, DNAT and Packet filter can i make ?

Thank's a lot.


This thread was automatically locked due to age.
Parents
  • i've tested to DNAT the port 82 and it's doesn't work ? why ?

    In the Packet filter  and Filter live log i've :
    Chain AUTO_NAT_PRE (1 references)
     pkts bytes target     prot opt in     out     source               destination         
        1    44 DNAT       tcp  --  *      *       0.0.0.0/0            62.161.226.102     tcp dpt:82 to:10.0.0.100:82 
        0     0 REDIRECT   tcp  --  *      *       10.0.0.0/24          0.0.0.0/0          tcp spts:1024:65535 dpt:80 redir ports 8080 

    Can you tell me, why the request from WAN doesn't reach the LAN 10.0.0.100 computer please ?

    Thank's 
      [;)]
Reply
  • i've tested to DNAT the port 82 and it's doesn't work ? why ?

    In the Packet filter  and Filter live log i've :
    Chain AUTO_NAT_PRE (1 references)
     pkts bytes target     prot opt in     out     source               destination         
        1    44 DNAT       tcp  --  *      *       0.0.0.0/0            62.161.226.102     tcp dpt:82 to:10.0.0.100:82 
        0     0 REDIRECT   tcp  --  *      *       10.0.0.0/24          0.0.0.0/0          tcp spts:1024:65535 dpt:80 redir ports 8080 

    Can you tell me, why the request from WAN doesn't reach the LAN 10.0.0.100 computer please ?

    Thank's 
      [;)]
Children
No Data