2 ip tunnels to 1 server
I made 2 vpn tunnels using gre between 3 machines: one tunnel between m1 and m2, the second tunnel between m3 and m2
My problem is that only the first tunnel is working, the second not. The facts: m1 internal ip 192.168.1.xxx, external ip xxx.xxx.xxx.xxx m2 internal ip 192.168.2.xxx, external ip yyy.yyy.yyy.yyy m3 internal ip 192.168.3.xxx external ip zzz.zzz.zzz.zzz on m2 I have: ip tunnel add tunnel1 mode gre remote xxx.xxx.xxx.xxx local yyy.yyy.yyy.yyy ttl 255 ifconfig tunnel1 192.168.2.x pointopoint 192.168.1.x up route add -net 192.168.1.0/24 gw 192.168.1.x dev tunnel1 + ip tunnel add tunnel2 mode gre remote zzz.zzz.zzz.zzz local yyy.yyy.yyy.yyy ttl 255 ifconfig tunnel2 192.168.2.x pointopoint 192.168.3.x up route add -net 192.168.3.0/24 gw 192.168.3.x dev tunnel2 on m1 I have: ip tunnel add t1 mode gre remote yyy.yyyy.yyy.yyy local xxx.xxx.xxx.xxx ttl 255 ifconfig t1 192.168.1.x pointopoint 192.168.2.x up route add -net 192.168.2.0/24 gw 192.168.2.x dev t1 on m3 I have: ip tunnel add t2 mode gre remote yyy.yyyy.yyy.yyy local zzz.zzz.zzz.zzz ttl 255 ifconfig t2 192.168.3.x pointopoint 192.168.2.x up route add -net 192.168.2.0/24 gw 192.168.2.x dev t2 What is wrong with tunnel2 ? |
finally, I managed to find the solution. ..... was a firewall problem
topic can be closed. |
All times are GMT -5. The time now is 05:40 AM. |