Posts

Showing posts from December, 2013

PPTP server on AWS Ubuntu instance

Simple VPN server configuration for easy VPN access to AWS using built in Windows VPN client. First to install pptp server package. sudo apt-get install pptpd Now to configuration: edit /etc/pptpd.conf option /etc/ppp/pptpd-options logwtmp localip 172.20.0.1  remoteip 172.20.0.10-50 edit  /etc/ppp/pptpd-options refuse-pap refuse-chap refuse-mschap require-mschap-v2 require-mppe-128 ms-dns 8.8.8.8 ms-dns 8.8.4.4 proxyarp nodefaultroute lock nobsdcomp mtu 1420 mru 1420 edit    /etc/ppp/chap-secrets  # client        server  secret                  IP addresses client1      pptpd   secret1      * client2      pptpd   secret2      * Add to /etc/rc.local iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -t mangle -A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu iptables -t mangle -A OUTPUT -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu Run: /

fixing missing apt-add-repository command

You might need to use apt-add-repository script and will get a missing command error. For example: sudo: apt-add-repository: command not found in order to fix that you nred to install  python-software-properties package # apt-get install python-software-properties That's it. Provided by: Forthscale systems, cloud experts