VPN issue - Ipfire behind a router

Good morning everyone,

I need to activate the VPN on IPFire.
IPFire is connected to the router (see image attached) and I access it via a static public IP.
On IPFire, I have opened port 1194 and created the openVPN profile, which I imported into OpenVPN Community Edition on IOS and on PC.

However, I am unable to connect. Do I also need to set up port forwarding on the router


?

Thank you,
Vincenzo

Yes, unless you have set your other router into bridge mode. However most Fritzbox systems do not enable bridge mode.

You don’t have to do that on IPFire as it is done automatically when you set up OpenVPN.

@vincenzo according to your image, your ISP is Fastweb (swiss-owned italian ISP).

Check with customer service that your connection has a public IP address and not being CG-NAT.

1 Like

This is not needed but you have to add a port forward for port 1194 to the RED IP of the IPFire in the Fritz!box. Without this a connection attempt not reach the IPFire.

1 Like

yes, right… my fault! I did not open the 1194 into the ipfire, but only in the router (see image.. sorry italian lang..). But still not working..

this is the error inside the openVPN log:

thanks for your support!
Vincenzo

So do what it says. Check your connectivity! In particular, it looks like OpenVPN is using UDP (good, better than TCP) but your FritzBox seems to be forwarding TCP?

nahhhhh.. changed fritz from TCP to UDP… and it works!!
my bad!!

thanks!
Vincenzo