OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: BelgarionNL on August 22, 2021, 07:43:52 PM

Title: [SOLVED] Please assist with firewall mapping. (worked under pfsense)
Post by: BelgarionNL on August 22, 2021, 07:43:52 PM
I wanted to jump over from pfsense a long time now so I finally pulled the trigger and did it. however I am running into some wonkyness.

I have on 1 of my unraid servers a SWAG(letsencrypt) container running for all my other docker containers like heimdall, jellyfin(plex) etc.

I thought everything was working OK since I enabled nat reflection so I can watch a movie using my custom domain. www.jellyfin.mydomain.nl. (that did not work on default settings)

However the fun stops when I want to watch a movie outside of my LAN. then it does not work.

Please assist and educate me on what I did wrong  ;D

Interface Proto    Address    Ports    Address    Ports    IP    Ports    Description
WAN    TCP      *    *    WAN address    443 (HTTPS)    10.0.0.10    1443    swag https    
WAN    TCP      *    *    WAN address    80 (HTTP)    10.0.0.10    180            swag https    

I just dont understand how I can connect to everything using my custom domain on the LAN but outside of the network. I just dont have the technical expertise to troubleshoot this and googling is a disaster.
Title: Re: Please assist with firewall mapping. (worked under pfsense)
Post by: mircolino on August 22, 2021, 08:05:19 PM
Did you also add rules for the NAT port forwarding?

Firewall: Rules: WAN

Direction  Protocol  Source  Port  Destination  Port       Gateway  Schedule
---------  --------  ------  ----  -----------  ---------  -------  --------
In         TCP       *       *     10.0.0.10    1443       *        *
In         TCP       *       *     10.0.0.10    180        *        *
Title: Re: Please assist with firewall mapping. (worked under pfsense)
Post by: BelgarionNL on August 22, 2021, 09:05:18 PM
ow found it. yea no rules at all.
Title: Re: Please assist with firewall mapping. (worked under pfsense)
Post by: mircolino on August 22, 2021, 09:08:56 PM
No. Under Firewall: Rules: WAN
Title: Re: Please assist with firewall mapping. (worked under pfsense)
Post by: BelgarionNL on August 22, 2021, 09:15:36 PM
is there a way for the Firewall: NAT: Port Forward to automatically make the associated rule?

I remember at the bottom of pfsense it said something about creating the rule too.

edit:  ahh I need to select it from the pull down menu.

seems to be creating the rule now too.
Title: Re: Please assist with firewall mapping. (worked under pfsense)
Post by: BelgarionNL on August 22, 2021, 09:22:42 PM
SOLVED! mercy