VPN log of FreeBSD
December 11, 2005 (Sunday)
Classification: Telecom, computer, rack station
Some websites will refer to the source IP addresses, especially the digital website, the pay-as-you-go website, the full-text forum, and the underground site, it is ineffective even if proxy is set. Therefore, if a person is in urgent need of external use, he may have to get some VPNs to change.
My frequently-used VPN Server is not quite fixed. I had a good time and urged others to repair the server again. Please do it yourself. Now that we have decided on our own mobile phones, we certainly chose FreeBSD, which is both customizable and fully controlled. I have collected some related information, but I have succeeded. I will remember this in my later time, and I will also give my friends who have the same needs an exam.
I do not have high security requirements for zookeeper. In any case, important zookeeper will be converted to the SSL or SSH mode. Therefore, my VPN only needs to support the PPTP and other regions. Root Login Clive in a BBSArticleTo achieve this effect, you must install the VPN and Nat instances at the same time. Therefore, I chose the combination of MPD and ipfilter: The Tunneling in the MPD environment, ipfilter refers to Nat in it. The entire architecture is shown in the following figure:
MPD can be used by FreeBSD'sPorts/NET/MPD
You can refer to any of the following articles for relevant settings:
- MPD: Create a VPN firewall for PPTP
- Mpd pptp Server ease of Security example
Ipfilter has already been built in FreeBSD kernel. You only need to reset and reset the kernel. You can refer to any of the following articles for related settings:
- FreeBSD ipnat or natd?
- FreeBSD uses ipfilter to enable Nat
- The ipfilter (IPF) Firewall
For the public, you only need to write the first article each time./Usr/local/etc/MPD. conf
And/Etc/ipnat. conf
The private IP addresses of the two are set to the same.
Original http://william.cswiz.org/blog/archives/2005-12-11/freebsd_vpn/