Answer the question
In order to leave comments, you need to log in
How can I make the IP of real visitors, clients go through the GRE tunnel?
I'm trying to figure out GRE tunnels on linux. There are two servers with public ip.
ip tunnel add tun0 mode gre remote IP_который_прячем local IP_который виден_людям ttl 255
ip link set tun0 up
ip addr add 10.10.10.1/24 dev tun0
ip tunnel add tun0 mode gre remote IP_который виден_людям local IP_который_прячем ttl 255
ip link set tun0 up
ip addr add 10.10.10.2/24 dev tun0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question