client config
Posted: Fri Apr 15, 2011 12:37 pm
hi i saw this client config
may server config
i tried to use the same config to my server but the problem was when i connected it always drop my vpn and always reconnectingclient
dev tun
remote ????.????.????.????
proto tcp
port 80
resolv-retry infinite
script-security 2
lport 80
bind
persist-key
persist-tun
ca ca.crt
comp-lzo
cipher none
auth SHA1
keysize 256
comp-lzo
verb 3
dhcp-option DNS 156.154.71.1
dhcp-option DNS 216.146.36.36
dhcp-option DNS 8.8.8.8
dhcp-option DNS 8.8.4.4
mute 5
tun-mtu 1500
mssfix 1450
auth-user-pass password.txt
reneg-sec 0
keepalive 10 120
push "route 255.255.255.255 net_gateway"
route-method exe
route-delay 2
reneg-sec 0
script-security 2 system
win-sys env
may server config
thanks for the helpocal ???.???.???.???
port 80
proto tcp
dev tun
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/server.crt
key /etc/openvpn/easy-rsa/2.0/keys/server.key
dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
plugin /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so /etc/pam.d/login
client-cert-not-required
username-as-common-name
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 8.8.4.4"
keepalive 5 30
comp-lzo
persist-key
persist-tun
status server-tcp.log
verb 3