Subnet, NAT and some problems

Hi everyone,

i have the bought the CCR1009-8G-1S-1S+ for our datacenter operations, but have some problems configuring it. On eth1 i have the Subnet from our proider ( eg. 77.12.244.192/29) Gateway is 77.12.244.193, the rest can be used. (77.12.244.194-77.12.244.199). I have on eth3 two webservers and want to do simple DNAT.

So 77.12.244.194 should go to 192.168.2.2:80 and 77.12.244.195 to 192.168.2.3:80. My question is now, how do i get it up and running.

Go to IP > Firewall, go to the NAT tab and add firewall rules to forward the incoming connections.

Add Rule: Chain: dstnat, Dst. Address: 77.12.244.194, Protocol: TCP, Dst. Port: 80, In. Interface: ether1, Action: dst-nat, To Address: 192.168.2.2

You don’t have to specify the To Ports field because you’re not changing the port number in the packet.

Add a rule for each web server.