Open VPN Static IP on client side
Posted: Thu Oct 06, 2011 8:29 am
The configuration outlined in below sketch actually works for "client 1" as long as it is configured with dynamic IP like the other clients in the setup. As soon as I try to assign a static IP to "client 1" though, it stops working properly. I can see the server from 'client 1' but I won't see the remaining clients as I would if 'client 1' was connected with a dynamic setup.
https://docs.google.com/viewer?a=v&pid= ... 4&hl=en_US
Configuration for "client 1"
client
dev tap
proto udp
remote 119.75.15.212 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client22.crt
key client22.key
tls-auth ta.key 1
comp-lzo
verb 3
Configuration for server:
port 1194
proto udp
dev tap
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
ifconfig-pool-persist ipp.txt
server-bridge 192.168.112.5 255.255.255.0 192.168.112.8 192.168.112.100
client-config-dir ccd
client-to-client
keepalive 10 120
tls-auth ta.key 0 # This file is secret
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
https://docs.google.com/viewer?a=v&pid= ... 4&hl=en_US
Configuration for "client 1"
client
dev tap
proto udp
remote 119.75.15.212 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client22.crt
key client22.key
tls-auth ta.key 1
comp-lzo
verb 3
Configuration for server:
port 1194
proto udp
dev tap
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
ifconfig-pool-persist ipp.txt
server-bridge 192.168.112.5 255.255.255.0 192.168.112.8 192.168.112.100
client-config-dir ccd
client-to-client
keepalive 10 120
tls-auth ta.key 0 # This file is secret
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3