Feature #1029
closedAdd more native way to connect on WAN via DHCP+PPTP/L2TP
0%
Description
In some countries the connection to ISP works like this: A computer(pfsense in this case) takes an IP from the modem via DHCP. This IP is from private network (i.e. 172.x.x.x), then on top of it the "dialer" brings up the PPTP/L2TP interface and gets the public IP.
Now, basically, with the 1.2.3 release I was able to get it working. This is how I did it:
1. Assuming WAN is the interface to connect to the internet - set it to DHCP, write down the IP, netmask and gateway that came from the modem.
2. On some other PC do a nslookup for the ISP's PPTP server name, which is supposed to be a pool of IPs. Choose one. Write it down.
3. Set the WAN interface to PPTP and besides the user/pass, in the local IP address type the IP/netmask from the DHCP we got earlier. In the remote IP address type the PPTP server of choice from step 2.
4. Set up a static route:
interface: WAN
network: PTPP server from step 2 (/32)
gateway: the one that we got from DHCP.
That's it. But there's a problem with such setup: if the ISP decides to change the PPTP server or DHCP pool of modems - we have to manually change these settings again.
Another thing is that it would be great if you could implement the same thing for L2TP.
By the way, all of these things are already implemented in m0n0wall-mod distro, so maybe it will be possible to port it to pfsense.
Update: I duplicated the issue because the previous wasn't assigned to any version and I was afraid it will be overlooked.
Updated by Chris Buechler over 14 years ago
- Status changed from New to Rejected
- Target version deleted (
2.0) - Affected Version deleted (
2.0)
Please don't duplicate tickets. original is #624. It doesn't have a target version because we don't have plans of implementing it at this time. You can attach a patch there if you want to see it get added to 2.1. We'll review all open feature requests for every future release, but generally, what gets added is what we get patches for and what people pay us to do.