Answer the question
In order to leave comments, you need to log in
Setting GREoverIPSec on openwrt?
It is necessary to configure GRE over IPSec between OpenWrt and Microtik,
I set everything up according to the manuals, everything works, but when I try to access the IP of the remote server (in addition to GRE there is also WEB), there is no answer, and the ping is also on 1.2.3.4. The route table in OPenwrt shows that the traffic for this node goes to the ipsec tunnel
conn tunneltooffice
type=transport
authby=secret
left=5.6.7.8 # connect from here
leftnexthop=%defaultroute
leftprotoport=gre
right=1.2.3.4 # connect here
rightnexthop=% defaultroute
rightprotoport=gre
esp=aes256-md5
keyexchange=ike
ike=aes256-md5-modp1024
pfs=yes
auth=esp
auto=start
The option rightprotoport=gre does not help.
Is it possible to somehow force only GRE traffic to be encrypted, while sending the rest along the default route?
PS Between mikrotik everything works fine.
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