Traffic from LAN to WAN not being port forwarded but it works from WLAN to WAN

Started by ecliPze507, January 05, 2023, 07:05:23 PM

Previous topic - Next topic
I have port forwarding set up and its working for traffic of the WAN interface. Traffic origination from my LAN is not beeing forwareded correctly if I attempt to connect from within the LAN using the WAN adress. I added a Port forward for the LAN interface like this:

imagine this network:
LAN network: 192.168.1.0 /24
WAN static IP: 200.200.200.200
OPNsense LAN: 192.168.1.254
WLAN network: 192.168.2.0 /24

Interface: LAN
Proto: TCP
Address: *
Src Ports: *
Destination: 200.200.200.200
Dst Ports: 80
NAT IP: 192.168.1.100
NAT dst Ports: 80

The strangest thing about this Problem is, that its working if I access the port from within the WLAN network. I dont have any port forwards for the WLAN network and it seems like its absolutly identically configured to the LAN network. But obivously I am missing something here. Has anyone an idea whats happening here?



What exactly are you trying to do here??
LAN to WAN doesn't need any port forwarding, it's allowed by the default any any rule.

Quote from: Demusman on January 12, 2023, 12:24:38 AM
What exactly are you trying to do here??
LAN to WAN doesn't need any port forwarding, it's allowed by the default any any rule.

Yeah also confused, Port forwarding ?  :P. Is the op trying to get traffic from one network to another ? or ?
My Youtube Networing & Lab Videos :
----------------------------------------
https://www.youtube.com/jasonslabvideos