Problems with Port Forward
-
Hi!
Been reading the port forwarding trouble shooting but cannot seems to figure out what is wrong.
I have the following setup:
ISP->WAN(Pfsense, xxx.xxx.xxx.x)
LAN (Pfsense 10.0.1.1) -> Swtich (clients. 10.0.1.10)I have setup a port forward on 22290 to 10.0.1.1:22 (Works both from internal 10.0.1.0 network as well as when connecting from outside) (this is the pfsense box)
I have setup up the same rules but 22280 to 10.0.1.10:22 (Only working when connecting from internal network)What could be wrong?
Using Pure Nat
TFTP proxy on WAN and LANUsing These Port Forwards
WAN TCP * * WAN address 22290 10.0.1.1 22 (SSH)
WAN TCP * * WAN address 22280 10.0.1.11 22 (SSH)And these firewall rules at the top for WAN
IPv4 TCP * * * 22280 * none
IPv4 TCP * * 10.0.1.1 22 (SSH) * none
IPv4 TCP * * 10.0.1.10 22 (SSH) * noneAnd these for LAN
IPv4 TCP * * * 22 (SSH) * noneDone snooping as well but can't see any obvious errors. Anyone have any idea what could be wrong?
Don't get any specific things in the logs as well.Regards, D
-
Hi!
Found the solution finally. Reset my firewall just to be sure.
Found out the issue was due to default gatway was not set correctly on my client machine.Basically did this:
route add default gw 10.0.1.1 eth1Now it seems to work!