OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: jcdick1 on December 14, 2018, 02:44:57 am

Title: Port forwarding rule not working?
Post by: jcdick1 on December 14, 2018, 02:44:57 am
I'm on OPNsense 18.7.8, and I have a port forward rule that doesn't seem to work, and I'm not sure why.

WAN   TCP/UDP   *   *   WAN address   2400           192.168.1.200   2400      <--Works fine
WAN   TCP           *   *   WAN address   2222           192.168.1.100   2222      <--Connection timeout

The service on 192.168.1.100:2222 responds fine if I'm on the LAN.  And it is definitely TCP-only, as it is an SSH-based service.  But I have tried changing it to TCP/UDP, but it made no difference.

The port forward that works fine is used for an automated system with a remote client, so I have no way to manually confirm that it is working, I just have to take the reports' word for it.  Which is "Yes, the service is accessible."

I don't know exactly what to look for in the logs.  If someone could give me a clue on that one, I can go poke around in there and see if maybe the firewall is acting like this rule doesn't exist or something.

Any suggestions?

Thanks!
Title: Re: Port forwarding rule not working?
Post by: ruggerio on December 14, 2018, 09:51:21 am
do you have also a rule on the lan interface for port 2222/tcp?