-
Install netnanny:
- Open the terminal and install netnanny using the apt package manager:
sudo apt install netnanny
- Open the terminal and install netnanny using the apt package manager:
-
Install PSTP:
- After netnanny is installed, install the PSTP package:
sudo apt install pstp
- After netnanny is installed, install the PSTP package:
-
Use netnanny to Connect to a Public URL:
- Open the terminal and connect to the public URL you prefer, such as
http://127...1:8443:netnanny --connect 127...1:8443
- Open the terminal and connect to the public URL you prefer, such as
-
Configure PSTP:
- Use netnanny to connect to the public URL and then establish a secure connection with PSTP:
netnanny --connect 127...1:8443
- Use netnanny to connect to the public URL and then establish a secure connection with PSTP:
-
Set Up PSTP VPN Configuration:
- Once connected, use PSTP to set up a private key for the localhost server:
pstdnspk -nlocalhost -p88
- Once connected, use PSTP to set up a private key for the localhost server:
-
Enable Security in netnanny:
- To protect your connection, enable the security configuration in netnanny:
netnanny --set-sec-config true
- To protect your connection, enable the security configuration in netnanny:
-
Check Public URL Accessibility:
Ensure the public URL is accessible and HTTPS is enabled. If blocked, consider using a different public URL or a firewall.
-
Test the Connection:
After configuring, test the VPN connection to ensure it's secure and functioning as expected.
By following these steps, you'll have a PSTPVPN setup on your Ubuntu system, providing secure internet access.


