Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [firewall]
- iptables -A INPUT -d 0/0 -p udp --dport 1701 -j ACCEPT
- iptables -A INPUT -d 0/0 -p tcp --dport 1701 -j ACCEPT
- [2.4.5/pppol2tp.so: cannot open shared object file: No such file or directory]
- https://bugs.centos.org/view.php?id=5832
- [referensi]
- https://linux.die.net/man/5/xl2tpd.conf
- https://linuxexplore.com/how-tos/l2tp-vpn-using-xl2tpd/
- https://bbs.archlinux.org/viewtopic.php?id=126843
- https://www.centos.org/forums/viewtopic.php?t=44091
- [TESTED]
- CENTOS 6 & DEBIAN 7
- [example config]
- ;;--------------------
- ;;
- ;;--------------------
- [global]
- ;listen-addr = 0.0.0.0
- ; force userspace = yes
- ;debug tunnel = yes
- ;ipsec saref = yes
- ;;
- ;;[fix from : https://bugs.centos.org/view.php?id=5832]
- ;;
- force userspace = yes
- [lns default]
- ip range = 172.99.1.2-172.99.1.253
- local ip = 172.99.1.1
- ; leave chap unspecified for maximum compatibility with windows, iOS, etc
- ;require pap = yes
- require chap = yes
- ;refuse pap = yes
- require authentication = yes
- name = l2VPN
- ppp debug = yes
- pppoptfile = /etc/xl2tpd/options.xl2tpd
- length bit = yes
Advertisement
Add Comment
Please, Sign In to add comment