OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: r3mus on January 12, 2020, 02:00:29 pm

Title: pfsence no NAT subnet alocated by ISP
Post by: r3mus on January 12, 2020, 02:00:29 pm
Hello to all.

At the moment i have an TP Link AC1900 with NAT disabled as i get a subnet class ( 8 Internet IP's ) from my ISP so i got on the router ( WAN ) the main IP and submask + Gateway and DNS servers then on ( DHCP ) side i got the subnet IP alocation with a diffrent IP/subnetmask/gateway and same DNS servers. 

What im trying to do is to replace de router with the pfsense and do the same thing plus keep the firewall as i have a good spec PC that i can push to 1 GB conection speed however on tp link i only get 400 mbps due to nat boost been off and no longer having the router to do the NAT.

So i have installed pfsense and set it up, however i turned off Firewall > NAT on the Outbound tab , set the wan side with all the details provided by ISP and on the lan side i set the dhcp with the details provided by ISP.

At the moment i can ping wan side an internet address but i can not ping from the lan side. 

Schematic.

pfsense address wan side ( IP 5.2.x.x - mask 255.255.255.0 - gateway 5.2.x.1 - dns 1 dns 2)
pfsense address lan side  ( IP 81.x.x.57 -mask 255.255.255.248 - gateway 81.x.x.57 -dns 1 dns2 )
pfsense DHCP  ( IP's 81.x.x.57 to 81.x.x.62 mask 255.255.255.248 - gateway 81.x.x.57 dns 1 dns 2) 

So the lan side i connected to a swich and then connect the devices directly to the internet IP's

But i can not access the internet from lan side , only from wan side.  I will be gracefuly to whoever can help me out on finding the correct steps in making this work.

Best Regards.
Title: Re: pfsence no NAT subnet alocated by ISP
Post by: cmdr.adama on January 12, 2020, 04:36:42 pm
Sounds as though your config is a little off...

For one... Shouldn't your WAN be a /29 and your LAN be a /24?

Are you sure that the Gateway on the FW is configured correctly? Can you ping a public IP address from the WAN interface? Not just a device connected on the WAN network...
Title: Re: pfsence no NAT subnet alocated by ISP
Post by: weust on January 12, 2020, 04:52:29 pm
Are you running pfSense or OPNsense? Because if you are running the former, you're on the wrong forum ;-)
Title: Re: pfsence no NAT subnet alocated by ISP
Post by: r3mus on January 12, 2020, 07:28:52 pm
Are you running pfSense or OPNsense? Because if you are running the former, you're on the wrong forum ;-)

Thank you for your reply , just as i notice you were right . Im on the wrong forum :( .... im running pfsense not opensense ...
Title: Re: pfsence no NAT subnet alocated by ISP
Post by: banym on January 12, 2020, 08:37:27 pm
Time to switch over ;-)
Title: Re: pfsence no NAT subnet alocated by ISP
Post by: weust on January 13, 2020, 11:59:25 am
It's never to late to join the Light Side of the Force ;-)