L2TP on ipsec (with xl2tpd, libreswan) centos7 설치 yum install epel-releaseyum install ppp xl2tpd libreswan 포트 500 udp4500 udp1701 udp vim /etc/ipsec.conf config setupprotostack=netkeylogfile=/var/log/pluto.logdumpdir=/var/run/pluto/virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12,%v4:25.0.0.0/8,%v4:100.64.0.0/10,%v6:fd00::/8,%v6:fe80::/10 include /etc/ipsec.d/*.conf conn L2TP-..
open ipsec vpn serverhttp://www.openswan.org http://www.strongswan.orghttp://www.freeswan.org 설치rpm -ivH http://repo.nikoforge.org/redhat/el6/nikoforge-release-latestyum -y install http://vesta.informatik.rwth-aachen.de/ftp/pub/Linux/fedora-epel/6/i386/epel-release-6-8.noarch.rpmyum -y install ipsec-toolsyum -y install xl2tpd vim /etc/racoon/init.sh #!/bin/sh# set security policiesecho -e "flush..
설치yum install make gcc gmp-devel bison flex lsofrpm -ivH http://repo.nikoforge.org/redhat/el6/nikoforge-release-latestyum -y install http://vesta.informatik.rwth-aachen.de/ftp/pub/Linux/fedora-epel/6/i386/epel-release-6-8.noarch.rpmyum install xl2tpd pppyum install openswan -y vim /etc/sysctl.confnet.ipv4.ip_forward = 1net.ipv4.conf.default.rp_filter = 0net.ipv4.conf.default.accept_source_route ..