Created
November 9, 2011 18:26
-
-
Save steos/1352369 to your computer and use it in GitHub Desktop.
openvpn config with lan gaming support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client | |
# specify server ip address here | |
remote <SERVER-IP> | |
dev tap | |
# name of the windows network connection | |
dev-node openVPN | |
tls-client | |
proto udp | |
ca ca.crt | |
key client.key | |
cert client.crt | |
nobind | |
persist-key | |
persist-tun | |
ns-cert-type server | |
comp-lzo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mode server | |
port 1194 | |
proto udp | |
dev tap0 | |
ca ca.crt | |
cert server.crt | |
key server.key | |
dh dh2048.pem | |
ifconfig-pool-persist /etc/openvpn/ipp.txt | |
# the "real" ip of the vpn server | |
ifconfig 192.168.1.109 255.255.255.0 | |
# specifies the server ip and address range for the clients within the vpn | |
server-bridge 172.13.23.1 255.255.255.0 172.13.23.100 172.13.23.200 | |
persist-key | |
persist-tun | |
verb 3 | |
tls-server | |
user nobody | |
#group nobody | |
client-to-client | |
tun-mtu 1500 | |
tun-mtu-extra 32 | |
mssfix 1400 | |
comp-lzo | |
keepalive 10 120 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment