Jump to content
Not connected, Your IP: 18.220.182.171
repok21

ANSWERED How can I use AirVPN port forwarding over a VPN Opnsense interface.

Recommended Posts

Posted ... (edited)

I currently have a AirVPN VPN interface on my Opnsense firewall with my torrent client device correctly routing through the virtual VPN interface. Everything is working except port forwarding. When I ran the OpenVPN client on the torrent machine itself using the OpenVPN client, the port forwarding works. When I route my torrent machine through Opnsense and the virtual gateway (with proper port forwarding rules) then it does not work. Nothing is being blocked at the firewall and when I run
sudo tcpdump -i enp2s0 port 62524 -n

it shows connections between my torrent machine and external public IPs on that designated listening port so Im a  bit confused. Something isnt working because upload speeds are extremely slow and the port forward test fails on the airvpn page. Here is output, am i going crazy?

tangodown@seedbox:~$ sudo tcpdump -i enp2s0 port 62524 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp2s0, link-type EN10MB (Ethernet), capture size 262144 bytes
00:00:51.814560 IP [REDACTED].25027 > 192.168.1.240.62524: UDP, length 69
00:00:51.814725 IP 192.168.1.240.62524 > [REDACTED].50018: UDP, length 97
00:00:51.948615 IP [REDACTED].50018 > 192.168.1.240.62524: UDP, length 69
00:00:51.948781 IP 192.168.1.240.62524 > [REDACTED].42549: UDP, length 97
00:00:52.071109 IP [REDACTED].42549 > 192.168.1.240.62524: UDP, length 69
00:00:52.071274 IP 192.168.1.240.62524 > [REDACTED].60954: UDP, length 97
00:00:52.196490 IP [REDACTED].60954 > 192.168.1.240.62524: UDP, length 69
00:00:52.199549 IP 192.168.1.240.62524 > [REDACTED].16950: UDP, length 58
00:00:52.199844 IP 192.168.1.240.62524 > [REDACTED].35014: UDP, length 58
00:00:52.202082 IP 192.168.1.240.62524 > [REDACTED].6060: UDP, length 97
00:00:52.238391 IP [REDACTED].6060 > 192.168.1.240.62524: UDP, length 88
00:00:52.300783 IP [REDACTED].16950 > 192.168.1.240.62524: UDP, length 80
00:00:52.586435 IP [REDACTED].6881 > 192.168.1.240.62524: UDP, length 78
00:00:52.586617 IP 192.168.1.240.62524 > [REDACTED].20605: UDP, length 97
00:00:53.201901 IP 192.168.1.240.42007 > [REDACTED].62524: Flags , seq 3101204821, win 7300, options [mss 1460,sackOK,TS val 1168147747 ecr 0,nop,wscale 0], length 0
00:00:53.450746 IP 192.168.1.240.44945 > [REDACTED].62524: Flags , seq 180890020, win 7300, options [mss 1460,sackOK,TS val 1168147996 ecr 0,nop,wscale 0], length 0
00:00:53.573553 IP 192.168.1.240.62524 > [REDACTED].57003: UDP, length 58
00:00:53.666011 IP [REDACTED].57003 > 192.168.1.240.62524: UDP, length 80
00:00:54.200593 IP 192.168.1.240.62524 > [REDACTED].64043: UDP, length 58
00:00:54.218730 IP 192.168.1.240.42007 > [REDACTED].62524: Flags , seq 3101204821, win 7300, options [mss 1460,sackOK,TS val 1168148764 ecr 0,nop,wscale 0], length 0
00:00:54.328205 IP [REDACTED].64043 > 192.168.1.240.62524: UDP, length 80
00:00:54.635322 IP 192.168.1.240.62524 > [REDACTED].51370: UDP, length 58
00:00:54.710765 IP [REDACTED].51370 > 192.168.1.240.62524: UDP, length 80
00:00:55.200119 IP 192.168.1.240.62524 > [REDACTED].30036: UDP, length 58


EDIT: Fixed the issue. under the Firewall -> Rules for both the floating and the VPN interface rules, i had to set the 'reply-to' to the AirVPN gateway

 

Edited ... by repok21

Share this post


Link to post
11 hours ago, repok21 said:

EDIT: Fixed the issue. under the Firewall -> Rules for both the floating and the VPN interface rules, i had to set the 'reply-to' to the AirVPN gateway


Fix.

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post
Guest
This topic is now closed to further replies.

×
×
  • Create New...