HI There,
I have an internet sharing network built.
I have users connecting to the core (internet router) to get access to the internet.
Setup: Each Company is on a different VLAN and they all connect to the core router which connects to the internet. Everything works fine. The problem is that when I port forward from outside the Wan to any device in any of the subnets, it does not work. I have tried the following:
A) on The WAN facing router
NAT:
0 chain=srcnat action=masquerade out-interface=Ether1 - WAN log=no
log-prefix=""
1 chain=dstnat action=dst-nat to-addresses=192.168.1.70 to-ports=3389
protocol=tcp in-interface=Ether1 - WAN dst-port=40000 log=yes
log-prefix="RDP"
Filter
17 chain=forward action=accept connection-state=established log=yes
log-prefix=""
18 chain=forward action=accept connection-nat-state=dstnat log=yes
log-prefix=""
B) On the client router
IP: 10.1.13.2/30
Gateway (TO WAN Router): 10.1.13.1/30
LAN: 192.168.1.0/24
LAN: Gateway: 192.168.1.254/24
The destination PC: 192.168.1.70
Port 3389
External port: 40000
Please, any timely response would be highly appreciated.