Zulgrib
Occasional Visitor
Hello,
I'm torturing myself with site to site VPN and i'm now pulling my hairs because i'm out of idea.
Computers on the client side can talk to computers on the remote side (Ping, SMB shares)
Computers on the server side cannot talk to computers on the client side. (Pings times out)
OpenVPN server uses subnet 192.168.6.0/24
OpenVPN client uses subnet 192.168.5.0/24
wrt-merlin powered router is the client.
Configuration of the OpenVPN server
And has this client specific config file
The client has this config
And in the custom config field
I don't know what to do next.
I tried to remove all the rules containing "--state INVALID" but they are recreated dynamicly
I tried to add
but the rules aren't actually created when the command is sent
I'm torturing myself with site to site VPN and i'm now pulling my hairs because i'm out of idea.
Computers on the client side can talk to computers on the remote side (Ping, SMB shares)
Computers on the server side cannot talk to computers on the client side. (Pings times out)
OpenVPN server uses subnet 192.168.6.0/24
OpenVPN client uses subnet 192.168.5.0/24
wrt-merlin powered router is the client.
Configuration of the OpenVPN server
Code:
push "route 192.168.200.0 255.255.255.0"
push "route 192.168.6.0 255.255.255.0"
route 192.168.5.0 255.255.255.0
dev tun
management 127.0.0.1 1195
server 192.168.200.0 255.255.255.0
dh /var/packages/VPNCenter/target/etc/openvpn/keys/dh1024.pem
ca /var/packages/VPNCenter/target/etc/openvpn/keys/ca.crt
cert /var/packages/VPNCenter/target/etc/openvpn/keys/server.crt
key /var/packages/VPNCenter/target/etc/openvpn/keys/server.key
max-clients 3
comp-lzo
persist-tun
persist-key
verb 3
#log-append /var/log/openvpn.log
keepalive 10 60
reneg-sec 0
plugin /var/packages/VPNCenter/target/lib/radiusplugin.so /var/packages/VPNCenter/target/etc/openvpn/radiusplugin.cnf
client-cert-not-required
username-as-common-name
duplicate-cn
status /tmp/ovpn_status_2_result 30
status-version 2
proto udp
port 1194
And has this client specific config file
Code:
ifconfig-push 192.168.200.6 255.255.255.0
iroute 192.168.5.0 255.255.255.0
The client has this config
Code:
Start with wan : Yes
Interface type : Tun
Proto : UDP
Server Address and Port : dnsnameoftheserver 1194
Firewall : auto
Auth mode : TLS (Only CA certificate shared)
Username/Password Authentication : Yes
Username / Password Auth. Only (Must define certificate authority) : No
Extra HMAC authorization : Disabled
Auth digest : Default
Create NAT on tunnel : Yes
Log : 3
Poll : 0
Accept DNS Configuration : Disabled
Encryption cipher : Default
Compression : Adaptive
TLS Renegotiation Time : -1
Connection Retry : -1
Verify serv cert : No
Redirect Internet traffic : No
And in the custom config field
Code:
tls-client
script-security 2
reneg-sec 0
ifconfig 192.168.200.6 192.168.200.5
route 192.168.6.0 255.255.255.0
keepalive 10 60
persist-key
persist-tun
I don't know what to do next.
I tried to remove all the rules containing "--state INVALID" but they are recreated dynamicly
I tried to add
Code:
iptables -I FORWARD -i br0 -o tun11 -j ACCEPT
iptables -I FORWARD -i tun11 -o br0 -j ACCEPT