Community discussions

MikroTik App
 
Cablenut9
Long time Member
Long time Member
Topic Author
Posts: 542
Joined: Fri Jan 08, 2021 5:30 am

Allow IPIP from any address in network

Mon Jun 28, 2021 6:38 pm

I need to make an IPIP tunnel where it can receive packets from any address in a particular network, say 10.0.0.0/8. Is there a way to do this?
 
Cablenut9
Long time Member
Long time Member
Topic Author
Posts: 542
Joined: Fri Jan 08, 2021 5:30 am

Re: Allow IPIP from any address in network

Tue Jun 29, 2021 2:02 am

Bump
 
Zaesch
Frequent Visitor
Frequent Visitor
Posts: 66
Joined: Thu Apr 16, 2009 12:43 pm

Re: Allow IPIP from any address in network

Tue Jun 29, 2021 2:38 pm

What are you trying to achive?

The only "solution" is, to configure a IPIP tunnel interface for each IP address in your network. I doubt, that it is possible to have 256*256*256=16.777.216 IPIP tunnel interfaces `(o.0)´
 
Cablenut9
Long time Member
Long time Member
Topic Author
Posts: 542
Joined: Fri Jan 08, 2021 5:30 am

Re: Allow IPIP from any address in network

Tue Jun 29, 2021 2:51 pm

I guess I would have to do what you said, but in my case about 50 of them.
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: Allow IPIP from any address in network

Tue Jun 29, 2021 3:43 pm

Probably it would be better to create a script that will look for incoming GRE packets and create an IPIP tunnel for that address, and another one that will remove unused tunnels once in a while.
 
nostromog
Member Candidate
Member Candidate
Posts: 226
Joined: Wed Jul 18, 2018 3:39 pm

Re: Allow IPIP from any address in network

Tue Jun 29, 2021 6:57 pm

I need to make an IPIP tunnel where it can receive packets from any address in a particular network, say 10.0.0.0/8. Is there a way to do this?
wireguard (7 beta) does something similar to what you want provided that what you want is that the tunnel "adapts" (as in roams) to changing input address, and not a multipoint-point tunnel where I'm not sure what you would do with the return traffic.
Last edited by nostromog on Tue Jun 29, 2021 6:59 pm, edited 1 time in total.
 
nostromog
Member Candidate
Member Candidate
Posts: 226
Joined: Wed Jul 18, 2018 3:39 pm

Re: Allow IPIP from any address in network

Tue Jun 29, 2021 6:58 pm

I need to make an IPIP tunnel where it can receive packets from any address in a particular network, say 10.0.0.0/8. Is there a way to do this?
wireguard (7 beta) does something similar to what you want provided that what you want is that the tunnel "adapts" (as in roams) to changing input address, and not a multipoint-point tunnel where I'm not sure what you would do with the return traffic.
Edit: s/wireshark/wireguard/ sorry my dyslexia

Who is online

Users browsing this forum: neitro and 92 guests