Hello,
I've installed openvpn server on ubuntu 14.04
my server.conf:
port 1194
proto udp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/zoe.crt
key /etc/openvpn/zoe.key
dh /etc/openvpn/dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
verb 3
on fritz!box I've installed freetz modification, which adds openvpn support. It generates such config file:
proto udp
dev tun
ca /tmp/flash/openvpn/ca.crt
cert /tmp/flash/openvpn/box.crt
key /tmp/flash/openvpn/box.key
tls-client
ns-cert-type server
remote [openvpn server ip address]
nobind
ifconfig 192.168.200.1 10.8.0.2
tun-mtu 1500
mssfix
verb 3
cipher BF-CBC
comp-lzo
keepalive 10 120
resolv-retry infinite
cd /var/tmp/openvpn
chroot /var/tmp/openvpn
user openvpn
group openvpn
persist-tun
persist-key
everything seems to work fine:
/etc/openvpn-status.log on server shows:
OpenVPN CLIENT LIST
Updated,Sat Dec 27 08:55:51 2014
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
katie,94.254.129.33:62737,8282,8994,Sat Dec 27 08:44:19 2014
ROUTING TABLE
Virtual Address,Common Name,Real Address,Last Ref
10.8.0.6,katie,94.254.129.33:62737,Sat Dec 27 08:44:22 2014
GLOBAL STATS
Max bcast/mcast queue length,0
END
other settings:
net.ipv4.conf.all.forwarding = 1
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
but for some reason I'm not able to use that connection.
on client side: ping 10.8.0.1 gives nothing.
What's worng? Thanks for your help
I've installed openvpn server on ubuntu 14.04
my server.conf:
port 1194
proto udp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/zoe.crt
key /etc/openvpn/zoe.key
dh /etc/openvpn/dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
verb 3
on fritz!box I've installed freetz modification, which adds openvpn support. It generates such config file:
proto udp
dev tun
ca /tmp/flash/openvpn/ca.crt
cert /tmp/flash/openvpn/box.crt
key /tmp/flash/openvpn/box.key
tls-client
ns-cert-type server
remote [openvpn server ip address]
nobind
ifconfig 192.168.200.1 10.8.0.2
tun-mtu 1500
mssfix
verb 3
cipher BF-CBC
comp-lzo
keepalive 10 120
resolv-retry infinite
cd /var/tmp/openvpn
chroot /var/tmp/openvpn
user openvpn
group openvpn
persist-tun
persist-key
everything seems to work fine:
/etc/openvpn-status.log on server shows:
OpenVPN CLIENT LIST
Updated,Sat Dec 27 08:55:51 2014
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
katie,94.254.129.33:62737,8282,8994,Sat Dec 27 08:44:19 2014
ROUTING TABLE
Virtual Address,Common Name,Real Address,Last Ref
10.8.0.6,katie,94.254.129.33:62737,Sat Dec 27 08:44:22 2014
GLOBAL STATS
Max bcast/mcast queue length,0
END
other settings:
net.ipv4.conf.all.forwarding = 1
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
but for some reason I'm not able to use that connection.
on client side: ping 10.8.0.1 gives nothing.
What's worng? Thanks for your help