sdf_s_vpn_servers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
sdf_s_vpn_servers [2021/03/21 00:15] – [PPTP Userspace Utility] hc9 | sdf_s_vpn_servers [2021/03/21 00:23] – [Connecting in FreeBSD] hc9 | ||
---|---|---|---|
Line 274: | Line 274: | ||
===== Connecting in FreeBSD ===== | ===== Connecting in FreeBSD ===== | ||
- | * Install mpd4 from ports or packages. | + | * Install |
- | * Add the following section to your / | + | * Add the following section to your '' |
- | + | ||
- | < | + | |
sdfvpn: | sdfvpn: | ||
new -i ng1 sdfvpn sdfvpn | new -i ng1 sdfvpn sdfvpn | ||
Line 310: | Line 307: | ||
set ccp yes mpp-stateless | set ccp yes mpp-stateless | ||
open | open | ||
- | |||
</ | </ | ||
- | |||
* You will have to replace three (3) things in this config: | * You will have to replace three (3) things in this config: | ||
- Your USERNAME | - Your USERNAME | ||
Line 318: | Line 313: | ||
- The local address of SDF's VPN host. This can be found in /etc/hosts on SDF. The local IP will start with 10.0.0, but have the same last octet as the public IP. | - The local address of SDF's VPN host. This can be found in /etc/hosts on SDF. The local IP will start with 10.0.0, but have the same last octet as the public IP. | ||
- | * Add this in your / | + | * Add this in your / |
- | + | ||
- | < | + | |
sdfvpn: | sdfvpn: | ||
set link type pptp | set link type pptp | ||
Line 327: | Line 319: | ||
set pptp enable originate outcall | set pptp enable originate outcall | ||
set pptp disable incoming | set pptp disable incoming | ||
- | |||
</ | </ | ||
- | |||
* You will have to replace one (1) thing in this config: | * You will have to replace one (1) thing in this config: | ||
- | - The public address of SDF's VPN host. You can get this by running setvpn at the shell. | + | - The public address of SDF's VPN host. You can get this by running |
* Now, as root, run mpd4 sdfvpn. | * Now, as root, run mpd4 sdfvpn. | ||
* You should now be connected to SDF over a layer 3 tunnel across the Internet. | * You should now be connected to SDF over a layer 3 tunnel across the Internet. |
sdf_s_vpn_servers.txt · Last modified: 2021/03/21 00:29 by hc9