Sto provando a reimpostare la vpn con tun, solo che ora mi ritrovo nella situazione iniziale
Questo č il route attuale sul server centrale
Codice:
default 192.168.1.1 UGS 3848 1500 xn1
10.0.8.0/24 10.0.8.2 UGS 307 1500 ovpns1
10.0.8.1 link#7 UHS 1288 16384 lo0
10.0.8.2 link#7 UH 115 1500 ovpns1
127.0.0.1 link#3 UH 36 16384 lo0
192.168.1.0/24 link#6 U 1200 1500 xn1
192.168.1.2 link#6 UHS 0 16384 lo0
192.168.2.0/24 link#5 U 5398 1500 xn0
192.168.2.254 link#5 UHS 0 16384 lo0
192.168.5.0/24 10.0.8.2 UGS 3 1500 ovpns1
Codice:
Mar 22 16:51:21 openvpn[61971]: xxxxxx [xxxxx] Peer Connection Initiated with [AF_INET]xxxxxxxx
Mar 22 16:51:21 openvpn[61971]: xxx/xxxx MULTI_sva: pool returned IPv4=10.0.8.6, IPv6=(Not enabled)
Mar 22 16:51:23 openvpn[61971]: xxx/xxxx send_push_reply(): safe_cap=940
Questo il route sul server remoto
Codice:
Tabella di routing IP del kernel
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.5.1 0.0.0.0 UG 0 0 0 eth0
10.0.8.1 10.0.8.5 255.255.255.255 UGH 0 0 0 tun0
10.0.8.5 * 255.255.255.255 UH 0 0 0 tun0
192.168.2.0 10.0.8.5 255.255.255.0 UG 0 0 0 tun0
192.168.5.0 * 255.255.255.0 U 0 0 0 eth0