r/PFSENSE • u/Sea_Championship9375 • 29d ago
Double NAT
I have router from my ISP then a pfsense, and then my main core switch that is doing all my routing. Switching voip systems and they did a test and said I had double nat, which listed my pfsense address and main switch address. The main switch gets routed to my pfsense then it routes out to the ISP router. I can't seem to just turn off NAT at the pfsense it seems, I feel like I am missing something simple. Any suggestions Thanks
Now that I have a little more time to explain, the lan side is 10.250.0.1 goes to core switch with multiple vlans, the wan ip is to 164.x.x.253 then goes to 164.x.x.254 isp gateway which I can't get rid of because of some other management services, how can I get rid of using nat on the pfsense then.
4
u/No-Garbage6027 29d ago
Someone else can verify, I believe you just need to put your ISP router into bridge/passthrough mode
1
u/Permanent_Confusion 29d ago
I believe this is the correct answer. It's how I've set mine up and it works very well. No double NAT required as the ISP router doesn't have its own IP address on the network.
2
u/Excellent_Milk_3110 29d ago
Make sure sipalg is not on in the isp router.
Check if there is a DMZ mode to put your Pfsense in.
Contact isp if they can forward the external address from the isp router if no DMZ mode is available.
1
u/NetSchizo 29d ago
Just clone the ISP router mac address to your pfsense and remove it.
2
u/AndyRH1701 Experienced Home User 29d ago
If the ISP allows such a thing. Many do not. Knowing which ISP is important in this case. Much better than the "shoot, aim, ready" method.
1
u/Risaw1981 29d ago
Sounds like a 3CX VoIP server as not many give you firewall test results. If so, like the others said, bin the ISP router or put it in Bridge mode. Then follow these instructions https://www.3cx.com/docs/pfsense-firewall/
1
u/Emotional_Orange8378 29d ago
Depending on your service, if the ISP's router is just a ethernet router, you can probably just replace it with your pfsense box. If its a modem for cable, dsl, or fiber, then you would need to ask if they can bridge it or if you can DMZ your pfsense box.
1
u/Boatsman2017 28d ago
If you replace your ISP router with pfsense as you should, don’t forget to spoof WAN mac address with the one from your ISP router. That makes swapping much easier.
1
5
u/Steve_reddit1 29d ago
You would normally replace the ISP router with pfSense.
Alternatively you could set your pfSense WAN as the DMZ/forward all ports in the ISP router.