Mam uruchomiony tunel do serwera na NND.
Odpalony tam openvpn tworzy interfejs:
Cytuj:
tun0 192.168.10.1 P-t-P:192.168.10.2 Mask:255.255.255.255
Komputer z neta (klient) na interfejsie tun ma takie ustawienia:
Cytuj:
tun0: 192.168.10.14 --> 192.168.10.13 netmask 0xffffffff
Ping z neta na 192.168.10.1 oraz na interfejs wewnętrzny routera 192.168.0.1 idzie...
Cytuj:
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=96.107 ms
PING 192.168.10.1 (192.168.10.1): 56 data bytes
64 bytes from 192.168.10.1: icmp_seq=0 ttl=64 time=114.211 ms
Nie mogę pingnować innych maszyn, o innych usługach nie wspominając.
Czy problem to tylko routing na serwerze?
Cytuj:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.10.2 * 255.255.255.255 UH 0 0 0 tun0
83.14.xxx.xx2 * 255.255.255.248 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
192.168.10.0 192.168.10.2 255.255.255.0 UG 0 0 0 tun0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default edh13u.internet 0.0.0.0 UG 0 0 0 eth0