OpenVPN

Материал из darklurker wiki
Перейти к: навигация, поиск

OpenVPN

client
dev tap0
proto udp
remote <server>
nobind
cipher AES-256-CBC
persist-key
persist-tun
pkcs12 /etc/openvpn/keys/<client>.p12
ns-cert-type server
tls-auth /etc/openvpn/keys/ta.key 1
comp-lzo
tun-mtu 1500
fragment 1300
mssfix
systemctl enable openvpn@its
systemctl start openvpn@its

Quagga

password 123
enable password 123
line vty
cp -a zebra.conf ospfd.conf
systemctl enable zebra
systemctl enable ospfd
systemctl start zebra
systemctl start ospfd
ip route 10.0.0.0/8 reject
ip route 192.168.0.0/16 reject