Community discussions

MikroTik App
 
ekpesinyang
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Tue Apr 12, 2016 6:21 pm
Location: Uyo
Contact:

EoIP with public IP

Sat Sep 16, 2017 11:01 pm

https://wiki.mikrotik.com/wiki/Manual:Interface/EoIP.

I read the above and need to know if it will work on public ip address and also can the config work with VPN.
 
User avatar
amt
Long time Member
Long time Member
Posts: 529
Joined: Fri Jan 16, 2015 2:05 pm

Re: EoIP with public IP

Sun Sep 17, 2017 1:34 am

Both of yes
its work on puplic ip, you can use for vpn
 
ekpesinyang
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Tue Apr 12, 2016 6:21 pm
Location: Uyo
Contact:

Re: EoIP with public IP

Sun Sep 17, 2017 6:59 am

Both of yes
its work on puplic ip, you can use for vpn

How does the config look like please...
 
User avatar
amt
Long time Member
Long time Member
Posts: 529
Joined: Fri Jan 16, 2015 2:05 pm

Re: EoIP with public IP

Sun Sep 17, 2017 2:24 pm

Both of yes
its work on puplic ip, you can use for vpn

How does the config look like please...
Can you share what you need ?
Also both router should be mikrotik for eoip.
 
ekpesinyang
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Tue Apr 12, 2016 6:21 pm
Location: Uyo
Contact:

Re: EoIP with public IP

Mon Sep 18, 2017 1:02 am

Both of yes
its work on puplic ip, you can use for vpn

How does the config look like please...
Can you share what you need ?
Also both router should be mikrotik for eoip.


I have 2 locations with public IP addresses.we have 20 users at each location and a server running an accounting package. We want to share resources from each location to the other location. We also have a cctv which should be viewed by the MD and IT Admin from any other locations they are. I have 2 mikrotik RB3011-RM router on both locations. Each site has a bandwidth of 2MB/2MB running.
 
User avatar
amt
Long time Member
Long time Member
Posts: 529
Joined: Fri Jan 16, 2015 2:05 pm

Re: EoIP with public IP

Mon Sep 18, 2017 9:06 am

Here is example with ipip tunnel that I use for vpn 2 location.. you can use eoip also instead ipip

at your Location-1
/interface ipip
add !keepalive local-address=Location-1PuplicIP name="to location-2" remote-address=Location-2PuplicIP
/ip address
add address=172.16.120.102/30 interface="to location-2" network=172.16.120.100
add address=192.168.1.1/24 comment="location1 Local network" interface=ether1 network=192.168.1.0
/ip route
add distance=1 dst-address=192.168.0.0/24 gateway="to location-2"

at your Location-2
/interface ipip
add !keepalive local-address=Location-2PuplicIP name="to location-1" remote-address=Location-1PuplicIP
/ip address
add address=192.168.0.1/24 comment="location-2 local network"interface=ether1 network=192.168.0.0
add address=172.16.120.101/30 interface="to location-1" network=172.16.120.100
/ip route
add distance=1 dst-address=192.168.1.0/24 gateway="to location-1"
with this config you can reach 192.168.1.0/24 from location-1 and you can reach 192.168.0.0/24 from location-2
 
scampbell
Trainer
Trainer
Posts: 487
Joined: Thu Jun 22, 2006 5:20 am
Location: Wellington, NZ
Contact:

Re: EoIP with public IP

Tue Sep 19, 2017 2:04 am

For EoIP on Public interfaces do not forget to allow GRE (47) on your input rules.
 
ekpesinyang
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Tue Apr 12, 2016 6:21 pm
Location: Uyo
Contact:

Re: EoIP with public IP

Tue Sep 19, 2017 12:11 pm

For EoIP on Public interfaces do not forget to allow GRE (47) on your input rules.
Why that and how please.
 
User avatar
amt
Long time Member
Long time Member
Posts: 529
Joined: Fri Jan 16, 2015 2:05 pm

Re: EoIP with public IP

Tue Sep 19, 2017 12:42 pm

For EoIP on Public interfaces do not forget to allow GRE (47) on your input rules.
Why that and how please.
I think ekpesinyang telling that rule below if you have firewall on your routers,
/ip firewall filter
add action=accept chain=input protocol=gre
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: EoIP with public IP

Tue Sep 19, 2017 7:57 pm

For security reasons, it is best allow GRE on input only from the IP of the far end.
 
ekpesinyang
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Tue Apr 12, 2016 6:21 pm
Location: Uyo
Contact:

Re: EoIP with public IP

Wed Sep 20, 2017 8:11 am

For security reasons, it is best allow GRE on input only from the IP of the far end.
Should that be implemented on both Routers. I hope that will not also block the administrative privileges. what i mean is that if need be that I've to logging to the router from another public IP to make some urgent changes.
 
ebreyit
Member Candidate
Member Candidate
Posts: 119
Joined: Tue Apr 30, 2013 11:44 am
Location: Shropshire, United Kingdom

Re: EoIP with public IP

Wed Sep 20, 2017 12:02 pm

Admin ports should not be directly open via Public IP.

Either use port knocking or a VPN to manage the router from the Internet

Who is online

Users browsing this forum: Ahrefs [Bot], frank143, Majestic-12 [Bot] and 97 guests