1
21.1 Legacy Series / Re: Issue with Wan firewall rule
« on: February 12, 2021, 02:07:40 pm »
Hi Chemlud,
Thanks for your reply. Selecting UDP or TCP did let me enter the port number OK, however still no joy with openvpn. So I setup a simple port mapping to a web server behind opnsense and this didn't work either. The firewall rule is correct on Firewall - NAT - port forward and on Firewall - Rules - WAN but the firewall logs are not even showing an attempt (firewall is set to show blocked, rejected and pass).
I'll describe below how this test network is configured which I want to get working correctly before I move it to my main network.
Huawei B525s-23a (4g router)
Lan IP address 192.168.8.1
OPNSense
Wan IP 192.168.8.104
LAN IP 192.168.10.1
I connect via WiFi or ethernet on the Huawei device so I'm essentially on the Wan of OPNSense, but when I try to connect to OpenVPN or to a web server port mapped to 192.168.10.201:8080 I get nothing at all in the logs.
As I test on an identical box I'm using for OPNSense I installed PFSense again (which I want to move away from) and setup with the same IP address details and set the same rules and connected to the Huawei box. OpenVPN and the port map to the web server worked exactly the way they should.
I'm stumped as to way this is happening, so if you or anyone else have any further suggestions of what I could try, it would be greatly appreciated.
Regards,
Robert.
Thanks for your reply. Selecting UDP or TCP did let me enter the port number OK, however still no joy with openvpn. So I setup a simple port mapping to a web server behind opnsense and this didn't work either. The firewall rule is correct on Firewall - NAT - port forward and on Firewall - Rules - WAN but the firewall logs are not even showing an attempt (firewall is set to show blocked, rejected and pass).
I'll describe below how this test network is configured which I want to get working correctly before I move it to my main network.
Huawei B525s-23a (4g router)
Lan IP address 192.168.8.1
OPNSense
Wan IP 192.168.8.104
LAN IP 192.168.10.1
I connect via WiFi or ethernet on the Huawei device so I'm essentially on the Wan of OPNSense, but when I try to connect to OpenVPN or to a web server port mapped to 192.168.10.201:8080 I get nothing at all in the logs.
As I test on an identical box I'm using for OPNSense I installed PFSense again (which I want to move away from) and setup with the same IP address details and set the same rules and connected to the Huawei box. OpenVPN and the port map to the web server worked exactly the way they should.
I'm stumped as to way this is happening, so if you or anyone else have any further suggestions of what I could try, it would be greatly appreciated.
Regards,
Robert.