Community discussions

MikroTik App
 
mafiosa
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Fri Dec 09, 2016 8:10 pm

EOIP works behind snat?

Sun Jul 26, 2020 9:28 am

Hello my isp provides me static IP via snat. GRE works fine. Will eoip work behind SNAT? 115.187.xx.xxx is snatted to 10.28.115.18( ip on my router interface). Will it work?
 
sindy
Forum Guru
Forum Guru
Posts: 6252
Joined: Mon Dec 04, 2017 9:19 pm

Re: EOIP works behind snat?

Sun Jul 26, 2020 11:15 am

It should work. However, there may be an issue - there is an optional ID field in GRE which RouterOS misuses. Whereas all four bytes are normally used as tunnel ID, in case of EoIP, two bytes are used for tunnel ID and the other two bytes hold payload size, so firewalls which track connections based on tunnel ID cannot match all packets to the same connection. So try and see.
Instead of writing novels, post /export hide-sensitive. Use find&replace in your favourite text editor to systematically replace all occurrences of each public IP address potentially identifying you by a distinctive pattern such as my.public.ip.1.

Who is online

Users browsing this forum: Baidu [Spider], nevolex, nichky and 209 guests