Port Forward over VPN interface?
-
From that it looks like the target NAT host isn't responding. Or is responding out another gateway.
Rereading my post, you can't tell any of that from those firewall logs. All that shows is the port is actually being forwarded to you and your NAT translation / firewall rule is correct.
What you need is a packet capture on AIRVPN_LAN for port 32400.
Haha, funny timing. Check the edit on my above post.
-
OK finally got a chance to review the packet captures I posted earlier today.
So what I'm seeing (during these tests) is that packets are coming in the AIRVPN_WAN interface but nothing is coming back out. It appears the packets are going out my regular WAN interface during these tests.
However if I do a test by starting a ping directly from the host (10.0.100.210) while doing a packet capture I see the data going out the AIRVPN_WAN interface properly and nothing going out the WAN.
I see what's happening, but unfortunately don't have a clue why it's happening. If packets originating from the AIVPN_LAN are going out the AIRVPN_WAN, why wouldn't packets being sent TO the AIRVPN_LAN be routed back out the AIRVPN_WAN?
-
You're going to have to post your interface configs, NAT rules, Port Forwards, Firewall rules. Something isn't making any sense.
You've got some policy routing issues or some NAT issues or both. This makes no sense:
And here is the packet capture on my regular WAN looking for port 32400.
11:06:11.939126 IP 10.4.24.119.32400 > 184.72.12.38.25297: tcp 0
11:06:12.940138 IP 10.4.24.119.32400 > 184.72.12.38.25297: tcp 0
11:06:13.940484 IP 10.4.24.119.32400 > 184.72.12.38.25297: tcp 0
11:06:14.944159 IP 10.4.24.119.32400 > 184.72.12.38.25297: tcp 0
11:06:17.340642 IP 10.4.24.119.32400 > 184.72.12.38.25297: tcp 010.4.24.119 is the virtual address of my OpenVPN client connection to my VPN service.
pfSense would not be forwarding traffic sourced from your VPN address out WAN unless it was told to do so somehow. And none of the other captures show 184.72.12.38 so where is that coming from?
-
You're going to have to post your interface configs, NAT rules, Port Forwards, Firewall rules. Something isn't making any sense.
You've got some policy routing issues or some NAT issues or both. This makes no sense:
pfSense would not be forwarding traffic sourced from your VPN address out WAN unless it was told to do so somehow. And none of the other captures show 184.72.12.38 so where is that coming from?
Both 54.241.28.69 and 184.72.12.38 is Plex.tv which is where I'm trying to publish my server to.
I will take some SS's of all my configs and hopefully you can spot my error.
-
Right, but there is absolutely no reason for traffic to be directed out WAN with a source address of your OpenVPN client interface.
-
Right, but there is absolutely no reason for traffic to be directed out WAN with a source address of your OpenVPN client interface.
PM'd.
-
Just wanted to post and update that my issue has been resolved. With the help of Derelict (huge thanks to you), we were able to determine that my issue was an Any/Any rule on the OpenVPN tab (which has since been removed and replaced with a more strict rule on an interface I created for my home VPN server network) as well as the fact that I had the AIRVPN_WAN gateway selected on my NAT port forward rule instead of leaving it as default.
Now everything is working just like I'd expect. Big thanks again to Derelict who spotted the problem and was patient in working with me.
-
Thanks for coming back here to post what was wrong, I was getting much the same issue and seeing the same results in the capture… It was the any/any in the OpenVPN tab.
-
Just wanted to say thank you so much for posting this, even 6 years later I ran into this issue and was banging my head against why I couldnt get something like portchecker.co to report a forwarded port open.
I guess I need to go back and read more on why the any/any on the openvpn interface broke things
-
I seem to be having the literal same issue.
VPN works from the desired VM. Outbound packets work properly, but it seems inbound packets are not being properly routed back through AIRVPN_WAN.
Can anyone provide a more detailed solution?
I don't have no any/any rules, only a single rule (created automatically by nat) in the AIRVPN_WAN that allows any tcp/udp to the VM with the port I want exposed.