![]() |
Tunnel Gre problem between two hosts (vps and dedicated server) - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5) +--- Forum: Other (https://www.linuxliteos.com/forums/forumdisplay.php?fid=20) +--- Thread: Tunnel Gre problem between two hosts (vps and dedicated server) (/showthread.php?tid=5594) Pages:
1
2
|
Tunnel Gre problem between two hosts (vps and dedicated server) - AleDevite - 09-17-2018 Hello guys i need to resolve this problem (all server have installed centos 7): i'm trying to create a gre tunnel through vps (in Italy - OpenVZ) and a dedicated server (in Germany), but they do not communicate internally (ping and ssh command tests). Next i create a gre tunnel trought vps (in Italy - OpenVZ) and vps (in France - KVM OpenStack) and their communicate, i next i had create a tunnel trought vps (in France - KVM OpenStack) and a dedicated server (in Germany) their communicate. I can not understand why the vps (in Italy - OpenVZ) and the dedicated server (in Germany) do not communicate, ideas on how I can fix (I also tried with iptables disabled, firewalld is not enable)? Thanks Quote: 1. VPS command for tunnel: Quote:[root@VPS ~]# ping 192.168.168.2 Quote:[root@VPS ~]# lsmod | grep gre Re: Tunnel Gre problem between two hosts (vps and dedicated server) - trinidad - 09-17-2018 See here: https://www.tecmint.com/find-linux-server-public-ip-address/ TC Re: Tunnel Gre problem between two hosts (vps and dedicated server) - AleDevite - 09-17-2018 (09-17-2018, 03:46 PM)trinidad link Wrote: See here:Thanks for your reply, how can help me the guide for find the public ip? I have already the ip public of all server i using. Re: Tunnel Gre problem between two hosts (vps and dedicated server) - trinidad - 09-17-2018 192.168.*.* is a local or intrAnet (not intErtnet) address issued from your router. Is not a server public address except on a local network. Somewhere in your PC client configuration (not your router other than port designation) you must connect actual public server addresses. You will need server public address somewhere when you are doing inter-country connections. That aside maybe I misunderstand your question. Below is a somewhat informative link for setting up the tunnel. Cisco should also have helpful information on this subject. https://wiki.buyvm.net/doku.php/gre_tunnel https://serverfault.com/questions/663259/multicraft-port-forwarding-through-a-gre-tunnel TC Re: Tunnel Gre problem between two hosts (vps and dedicated server) - AleDevite - 09-17-2018 (09-17-2018, 05:06 PM)trinidad link Wrote: 192.168.*.* is a local or intrAnet (not intErtnet) address issued from your router. Is not a server public address except on a local network. Somewhere in your PC client configuration (not your router other than port designation) you must connect actual public server addresses. You will need server public address somewhere when you are doing inter-country connections. That aside maybe I misunderstand your question. Below is a somewhat informative link for setting up the tunnel. Cisco should also have helpful information on this subject.I've also tried this internal IP 10.10.10.1/24 and 10.10.10.2/24 but nothing. I'm using the same guide you sent: https://wiki.buyvm.net/doku.php/gre_tunnel Re: Tunnel Gre problem between two hosts (vps and dedicated server) - kpanic - 09-17-2018 [member=8092]AleDevite[/member] , May I ask what are you trying to achieve with this? Before you mess up more with the routing tables... Re: Tunnel Gre problem between two hosts (vps and dedicated server) - AleDevite - 09-18-2018 [member=7701]kpanic[/member] I need to communicate internally the VPS (in Italy) and Dedicated Server (in Germany), but they do not communicate and i can not understand why. In other attempts (by this i mean that i managed to successfully create the GRE Tunnel between these machines): - The VPS (in France) and VPS (in Italy) communicate internally (ping and ssh command tests) - The VPS (in France) and Dedicated Server (in Germany) communicate internally (ping and ssh command tests) Problem (by this i mean that i could not successfully create the GRE Tunnel between these machines): - The VPS (in Italy) and Dedicated Server (in Germany) do not communicate internally (ping and ssh command tests). I also asked hosting services if they had any restrinzione but nothing. Re: Tunnel Gre problem between two hosts (vps and dedicated server) - kpanic - 09-21-2018 [member=8092]AleDevite[/member] , Ok, which VPN service do you use, if any? Re: Tunnel Gre problem between two hosts (vps and dedicated server) - AleDevite - 09-21-2018 [member=7701]kpanic[/member] i'm using this guide for create a gre tunnel https://wiki.buyvm.net/doku.php/gre_tunnel , i'm not creating a vpn system. Console image with full command output: ![]() Re: Tunnel Gre problem between two hosts (vps and dedicated server) - trinidad - 09-21-2018 I'm still following this. Are you on the Italian or German end of this connection? The 169 address is a Windows ad hoc service address. It won't pass every protocol. TC |