Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@raspberrypi:~/openvpn# cat pi-client.conf
- client
- proto udp
- remote vps.sytes.net
- port 1194
- dev tun
- nobind
- askpass /root/openvpn/pi-client.pass
- <ca>
- -----BEGIN CERTIFICATE-----
- ...
- root@vps:~/openvpn# cat vps-server.conf
- proto udp
- port 1194
- dev tun
- server 10.200.0.0 255.255.255.0
- client-to-client
- route 192.168.0.0 255.255.255.0
- push "route 192.168.0.0 255.255.255.0"
- client-config-dir /root/openvpn/ccd
- topology subnet
- persist-key
- persist-tun
- keepalive 10 60
- dh /root/openvpn/dh.pem
- ca /root/openvpn/ca.crt
- cert /root/openvpn/vps-server.crt
- key /root/openvpn/vps-server.key
- user nobody
- group nogroup
- verb 3
- daemon
- log-append /var/log/openvpn.log
- root@vps:~/openvpn/ccd# cat pi-vps-client
- iroute 192.168.0.0 255.255.255.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement