Community discussions

MikroTik App
 
adam900331
newbie
Topic Author
Posts: 34
Joined: Fri Jul 22, 2016 10:02 am

IPIP tunnel behind NAT

Mon Jun 28, 2021 8:12 pm

Hello.

Is there any way to configure a ipip tunnel where the one of the MT device behind the NAT?
 
adam900331
newbie
Topic Author
Posts: 34
Joined: Fri Jul 22, 2016 10:02 am

Re: IPIP tunnel behind NAT

Mon Jun 28, 2021 11:20 pm

Anyone help?
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1280
Joined: Tue Jun 23, 2015 2:35 pm

Re: IPIP tunnel behind NAT

Tue Jun 29, 2021 3:43 am

as long as they can ping each other, can't see any reason why you would be able to do
 
adam900331
newbie
Topic Author
Posts: 34
Joined: Fri Jul 22, 2016 10:02 am

Re: IPIP tunnel behind NAT

Tue Jun 29, 2021 7:31 am

as long as they can ping each other, can't see any reason why you would be able to do
Thanks. And which ports need to be forwarded the ipip tunnel endpoint behind the NAT. What is the proper config?
 
Zaesch
Frequent Visitor
Frequent Visitor
Posts: 66
Joined: Thu Apr 16, 2009 12:43 pm

Re: IPIP tunnel behind NAT

Tue Jun 29, 2021 2:00 pm

Very tricky.
You can't forward the packets, because they have no port ;-) Only UDP and TCP packets have ports. IPIP tunnels are basicly IP packets with another IP header wrapped around them.

Possible solution:
Depending on the NAT router you could forward any packet with the source IP of your IPIP tunnel endpoint to the device behind the router.

edit:
If you only need a tunnel, try another VPN protocol like L2TP. Easiest way: Client behind NAT.
And always remember: NAT is EVIL!

Who is online

Users browsing this forum: Adrijan, Bing [Bot], holvoetn, Huy0880, llamajaja, pstrauts and 95 guests