Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- port 1194 #change to any port you see fit. The client needs to use the same port
- proto udp #switch to tcp if you wish to use a tcp connection, the client needs to use the same protocol. udp gives better performance
- dev tun
- dev-node MyTap #name of your TAP interface.
- server 192.168.137.0 255.255.255.0 #This may need modification as dictated by Internet Connection Settings. This is the default for ICS on Windows 7.
- ca ca.crt
- cert server.crt
- key server.key # This file should be kept secret
- dh dh1024.pem
- ifconfig-pool-persist ipp.txt
- push "redirect-gateway def1" #tells all Internet traffic to go through the tunnel
- push "dhcp-option DNS 208.67.222.222" #OpenDNS servers, makes it easy to check if the tunnel is working properly
- push "dhcp-option DNS 208.67.220.220"
- keepalive 10 120
- comp-lzo #compression for better network performance. Disable if your server isn't powerful enough. Needs to be included in both server and client configs if you use it.
- persist-key
- persist-tun
- status openvpn-status.log
- verb 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement