OPNsense Forum

English Forums => Virtual private networks => Topic started by: nightvison1180 on May 30, 2021, 05:36:26 PM

Title: Added OPNSense as OpenVPN, but portforwarding is not working correctly
Post by: nightvison1180 on May 30, 2021, 05:36:26 PM
Hi there,

I run my own OpenVPN server and I have added my OPNSense as a client. it has the IP 10.8.0.3. I have setup the following portforward rule:

(https://i.ibb.co/Pt399JK/image.png)

But if I go to http://10.8.0.3 I see the OPNSense web gui, not the webserver at 10.100.20.2:80.

These are my gateways:

(https://i.ibb.co/FBSpyvM/image.png)

These are my routes:

(https://i.ibb.co/vHfpz7G/image.png)

VPN interface:

(https://i.ibb.co/XC0FnzS/image.png)

And the firewall rules:

(https://i.ibb.co/xMSw4vK/image.png)

Does anyone know what I do wrong? Is it even possible to NAT over a tunnel?