Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // http://NuLLocK.com/forums
- // Content is below all this junk, but you should read this junk if you support me! <3
- // Codexual @ NuLLocK.com
- // Become a Patreon.com/Codexual
- // Donation Are accepted Paypal.me/Codexual
- // YouTube.com/Codexual
- // Twitter.com/Codexual
- // Facebook.com/Codexual
- // Instagram.com/Codexual
- // Snapchat.com/add/Codexual
- // Twitch.tv/Codexual
- // Mixer.com/Codexual
- //
- // Gaming
- // https://steamcommunity.com/id/Codexual
- // Xbox - Codexual
- // PS4 - Codexual
- //
- // Hey Viewer, I would like to thank you. Speaking of being thankful, if you truly support my work, or just wanna be a good sport. // All I all of you is to follow me on my social media, like my content on all social media if you see me post something, and share // my content when you see me post something. Everything does help out, thank you again!
- //
- // Every Saturday I do a Q/A video, so if you have a question you may ask me at http://nullock.com/askme - Look for the Q/A video on
- // my YouTube Channel! (:
- apt-get install pptpd
- nano /etc/pptpd.conf
- #localip 192.168.0.234-238,192.168.0.245
- #remoteip 192.168.1.234-238,192.168.1.245
- localip 10.0.0.1
- remoteip 10.0.0.100-200
- nano /etc/ppp/chap-secrets
- username1 pptpd password123 *
- username2 pptpd password123 YOURIPHERE
- username3 pptpd password123
- nano /etc/ppp/pptpd-options
- ms-dns 8.8.8.8
- ms-dns 8.8.4.4
- service pptpd restart
- netstat -alon | grep :1723
- nano /etc/sysctl.conf
- net.ipv4.ip_forward=1
- iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE && iptables-save
- iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE
- iptables -I INPUT -s 192.0.0.0/8 -i ppp0 -j ACCEPT
- iptables --append FORWARD --in-interface eth0 -j ACCEPT
- iptables-save > firewall
- iptables-restore < firewall
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement