How to work OpenVPN with WAN IP 192.168.1.0/24
-
Hi,
Could you help me please how will I connect my machine to openvpn, my pfsense is using a 192.168.1.67 as WAN because there's a router before my pfsense.
-
@JaysonIQ said in How to work OpenVPN with WAN IP 192.168.1.0/24:
using a 192.168.1.67 as WAN because there's a router before my pfsense.
In the past, when you got a router from your ISP, you didn't need to know something from anything. Just plug in the power, ISP land line (fiber, phone or whatever), LAN plug and done.
You've decide to leave that situation, and add a second router, pfSense so your ISP router isn't your primary router anymore : that one more reason to change - before hooking up - it's default LAN 192.168.1.1/24 to something else.
When you start using more sophisticated options like OpenVPN, you have one more reason to not keep 192.168.1.1/24 on any LAN - no where.
-
S stephenw10 moved this topic from Off-Topic & Non-Support Discussion on
-
Could you elaborate what you're saying. Here's my case. I have an ISP router with external IP, and its giving a dynamic IP range 192.168.1.0/24. There are only 2 device that has been connected, Sonicwall (192.168.1.251) and Netgate (192.168.1.67). The SonicWall currently has an SSL VPN set up, and I used to connect to it remotely using the NetExtender client by entering the ISP's external IP.
Now, I plan to replace the SonicWall with the Netgate device. I want to configure a VPN (specifically OpenVPN) on the Netgate, so I can connect remotely when I'm at a different location.
-
Then the ISP router must be configured to forward traffic to the Sonicwall. It might be forwarding all traffic (a DMZ style setup) or just forwarding the required ports for the SSLVPN.
You need to setup similar forwards to pfSense.
But, yes, a better setup would be to eliminate the ISP router entirely. That may not be possible though.