Thread: Help with OpenVPN, having routing issues...
hello all,
posted openvpn forums, haven't gotten response back, figured i'd give forum try.
i'm running openvpn server/client lan setup follows:
server
10.11.14.1 netmask 255.255.0.0
client gateway
10.10.12.1 netmask 255.255.0.0
client system a
10.10.12.149 netmask 255.255.0.0
problem can't ping server client system a.
logs show bad source address 10.10.12.149 on server.
i've created ccd/client file iroute 10.10.0.0 255.255.0.0
directive put in route directive route 10.10.0.0 255.255.0.0
in server.conf file.
also, server , client gateway set ip forwarding, , i've put in rules in iptables firewall on server , client gateway recognize tun0 (the virtual openvpn routing device) , open port 1194.
server.conf file looks this:
ort 1194
proto tcp-server
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
#push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option dns 8.8.8.8"
push "dhcp-option dns 8.8.4.4"
push "route 10.11.0.0 netmask 255.255.0.0"
client-to-client
#duplicate-cn
keepalive 10 120
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
log /var/log/openvpn.log
verb 12
client-config-dir /etc/openvpn/ccd
route 10.10.0.0 255.255.0.0
have ccd/client file following line:
iroute 10.10.0.0 255.255.0.0
can ping server client vpn gateway, not connected client a...
have ideas?
== redmage123
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Help with OpenVPN, having routing issues...
Ubuntu
Comments
Post a Comment