Hi all
I have setup an openvpn gateway to gateway connection, but I cant reach one network. Can you help me?
Network A:
Network IP: 192.168.100.0/24
Server: Linux Debian OpenVPN Server
Server IP: 192.168.100.202
Config file:
cd /etc/openvpn
dev tun0
port 1194
proto udp
tun-mtu 1500
fragment 1300
mssfix
ifconfig 10.0.0.1 10.0.0.2
route 172.16.55.0 255.255.255.0
tls-server
auth SHA1
dh dh2048.pem
ca ca.crt
cert hp.crt
key hp.key
verb 5
iptables:
iptables -A INPUT -p udp --dport 1194 -j ACCEPT
iptables -A OUTPUT -p udp --dport 1194 -j ACCEPT
iptables -A INPUT -i tun+ -j ACCEPT
iptables -A FORWARD -i tun+ -j ACCEPT
iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o eth0 -j MASQUERADE
Network B:
Network IP: 172.16.55.0/24
OpenVPN Client: Conel ER 75 i router
Config: Is in the GUI of the router
Now what i got so far:
Network A
- OpenVPN server can ping 10.0.0.2
OpenVPN server can ping 172.16.55.1
Network B
- Client behind Conel router can ping 10.0.0.1
Client behind Conel router can ping OpenVPN Server 192.168.100.202
Client behind Conel router can ping router behind OpenVPN server 192.168.100.1
What I need:
Whats missing is, that the openvpn server(network A) can ping the client(network B) behind the conel router.
A traceroute looks like this:
traceroute 172.16.55.1
traceroute to 172.16.55.1 (172.16.55.1), 30 hops max, 60 byte packets
1 172.16.55.1 (172.16.55.1) 290.814 ms 329.299 ms 388.264 ms
traceroute 172.16.55.2
traceroute to 172.16.55.2 (172.16.55.2), 30 hops max, 60 byte packets
1 10.0.0.2 (10.0.0.2) 360.555 ms 379.987 ms 439.658 ms
2 * * *
3 * * *
4 * * *
Do you have any idea, what is missing?
Regards jompsi