bendikro / deluge-vpn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot forward ports

JulianGro opened this issue · comments

Even when the ports are forwared on the VPN, I cannot get any incoming trough those.
The VPN part seems to have worked because it now times out instead of just refusing the connection.

If telling iptables to log the blocked connections, it does block a good amount of connections from the VPN, but seemingly not on the right device:

iptables denied: IN=enp5s0 OUT= MAC=ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff SRC=123.123.123.123 DST=192.168.1.12 LEN=144 TOS=0x00 PREC=0x00 TTL=54 ID=971 DF PROTO=UDP SPT=1912 DPT=49955 LEN=124 

Maybe the connection rules don't work right, because everything that goes through the tunnel interface also goes through the actual interface?

Looking at some other logs, it kind of looks like the connection is coming in okay, but the answer happens on the wrong interface.
It looks like it answers requests from tun0 on enp5s0, which gets blocked by the iptables rules.