0

I have a gre tunnel setup on a linux machine and all incoming traffic to the gre public ip hits the box as expected however when i do a ping/curl FROM the linux box it goes via it's default inteface i.e the isp router and not the tunnel how do i force all traffic to go via the tunnel? I've tried different default/static routes but none seem to work.

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         11.11.7.1       0.0.0.0         UG    100    0        0 enp2s0
11.11.7.0       0.0.0.0         255.255.255.0   U     0      0        0 enp2s0
11.11.7.1       0.0.0.0         255.255.255.255 UH    100    0        0 enp2s0
192.168.168.4   0.0.0.0         255.255.255.252 U     0      0        0 gre1

gre1 interface has ip 192.168.168.6 and the remote gre interface has ip 192.168.168.5

Lurch
  • 121
  • 3

0 Answers0