Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tls-server
- port 1194
- proto tcp
- dev tun0
- tun-mtu-extra 32
- tun-mtu 1400
- mssfix 1360
- tcp-queue-limit 128
- txqueuelen 2000
- tcp-nodelay
- sndbuf 393216
- rcvbuf 393216
- push "sndbuf 393216"
- push "rcvbuf 393216"
- server 10.8.0.0 255.255.255.0
- ca /etc/openvpn/keys/ca.crt
- cert /etc/openvpn/keys/server.crt
- key /etc/openvpn/keys/server.key
- dh /etc/openvpn/keys/dh2048.pem
- persist-key
- persist-tun
- keepalive 1 180
- comp-lzo
- user nobody
- client-to-client
- username-as-common-name
- client-cert-not-required
- auth-user-pass-verify /etc/openvpn/script/login.sh via-env
- max-clients 100
- push "redirect-gateway def1"
- push "dhcp-option DNS 1.1.1.1"
- push "dhcp-option DNS 1.0.0.1"
- script-security 3
- client-connect /etc/openvpn/script/connect.sh
- client-disconnect /etc/openvpn/script/disconnect.sh
- status /var/www/html/status/tcp2.txt
- log-append /etc/openvpn/log/openvpn.log
- verb 3
- connect-retry-max infinite
- tls-server
- port 1194
- proto tcp
- dev tun1
- tun-mtu-extra 32
- tun-mtu 1400
- mssfix 1360
- tcp-queue-limit 128
- txqueuelen 2000
- tcp-nodelay
- sndbuf 393216
- rcvbuf 393216
- push "sndbuf 393216"
- push "rcvbuf 393216"
- server 10.8.0.0 255.255.255.0
- ca /etc/openvpn/keys/ca.crt
- cert /etc/openvpn/keys/server.crt
- key /etc/openvpn/keys/server.key
- dh /etc/openvpn/keys/dh2048.pem
- persist-key
- persist-tun
- keepalive 1 180
- comp-lzo
- user nobody
- client-to-client
- username-as-common-name
- client-cert-not-required
- auth-user-pass-verify /etc/openvpn/script/login.sh via-env
- max-clients 100
- push "redirect-gateway def1"
- push "dhcp-option DNS 1.1.1.1"
- push "dhcp-option DNS 1.0.0.1"
- script-security 3
- client-connect /etc/openvpn/script/connect.sh
- client-disconnect /etc/openvpn/script/disconnect.sh
- status /var/www/html/status/tcp2.txt
- log-append /etc/openvpn/log/openvpn.log
- verb 3
- connect-retry-max infinite
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement