Community discussions

MikroTik App
 
piyaservice
just joined
Topic Author
Posts: 20
Joined: Fri May 15, 2015 11:16 am

How to Hide Gateway from customer

Sat Oct 24, 2015 7:49 am

Dear sir
I have problem from hotspot service, Customer can see gateway from connect hotspot , Then customer use net cut attack to gateway

Question
1. How to hide or protect gateway from customer

best regard
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 3005
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: How to Hide Gateway from customer

Sat Oct 24, 2015 9:58 am

knowing the topology is necessary to design a solution
 
piyaservice
just joined
Topic Author
Posts: 20
Joined: Fri May 15, 2015 11:16 am

Re: How to Hide Gateway from customer

Sat Oct 24, 2015 12:38 pm

This is our solution
1. use Load balance EMCP
2. use Capman control Access point
3. use hotspot for login

problem
1. I found some customer check our gateway , and use some software attach our gateway

this is problem
You do not have the required permissions to view the files attached to this post.
 
User avatar
kiler129
Member
Member
Posts: 354
Joined: Tue Mar 31, 2015 4:32 pm
Location: IL, USA
Contact:

Re: How to Hide Gateway from customer

Sat Oct 24, 2015 12:44 pm

You're approaching it wrong way - what you trying to do is called "security by obsecurity" ;)
You should at least read http://wiki.mikrotik.com/wiki/Protecting_your_customers
 
troffasky
Member
Member
Posts: 431
Joined: Wed Mar 26, 2014 4:37 pm

Re: How to Hide Gateway from customer

Sat Oct 24, 2015 1:22 pm

Certainly wireless client isolation would help here, but I guess it's not going to help protect a client on AP1 from attacks by a client on AP2 - unless CAPsMAN is clever enough to cover this?

Other ideas - make every ethernet port on the router routed [it's not clear from your diagram if eth3-eth9 are routed or bridged]. That way the damage from a malicious user is limited to the port they're on.
 
sup5
Member
Member
Posts: 359
Joined: Sat Jul 10, 2010 12:37 am

Re: How to Hide Gateway from customer

Sat Oct 24, 2015 6:11 pm

User Isolation is the key here. (Horizon Bridging and Wireless isolation)

Just make sure there is no Layer-2 connectivity between the users.
 
troffasky
Member
Member
Posts: 431
Joined: Wed Mar 26, 2014 4:37 pm

Re: How to Hide Gateway from customer

Sun Oct 25, 2015 12:48 am

 
piyaservice
just joined
Topic Author
Posts: 20
Joined: Fri May 15, 2015 11:16 am

Re: How to Hide Gateway from customer

Sun Oct 25, 2015 3:42 am

knowing the topology is necessary to design a solution
Thank you for your information , I try to setting your comment already
 
piyaservice
just joined
Topic Author
Posts: 20
Joined: Fri May 15, 2015 11:16 am

Re: How to Hide Gateway from customer

Sun Oct 25, 2015 3:44 am

You're approaching it wrong way - what you trying to do is called "security by obsecurity" ;)
You should at least read http://wiki.mikrotik.com/wiki/Protecting_your_customers
Dear sir
I read this is column already , But I cannot see how to protect our gateway , Please explain me how to do

best regard
 
piyaservice
just joined
Topic Author
Posts: 20
Joined: Fri May 15, 2015 11:16 am

Re: How to Hide Gateway from customer

Sun Oct 25, 2015 3:47 am

Certainly wireless client isolation would help here, but I guess it's not going to help protect a client on AP1 from attacks by a client on AP2 - unless CAPsMAN is clever enough to cover this?

Other ideas - make every ethernet port on the router routed [it's not clear from your diagram if eth3-eth9 are routed or bridged]. That way the damage from a malicious user is limited to the port they're on.
Dear sir
Isolate it mean protect between client and client cannot see , But I don't understand between server and client , How to protect , Please tell me if my understand not correct

best regard
 
troffasky
Member
Member
Posts: 431
Joined: Wed Mar 26, 2014 4:37 pm

Re: How to Hide Gateway from customer

Sun Oct 25, 2015 12:10 pm

If you "hide" the gateway from the clients, how do you expect the clients to get any internet access?

You asked about protecting against the 'netcut' attack. A quick google suggests netcut is an ARP poisoning attack, where a malicious user sends out ARP packets pretending to be the gateway. If you isolate the clients from each other, then a malicious client isn't going to be able to send spoofed ARP packets to other clients, pretending to be the gateway.

One more idea - change the ARP setting on your client-facing interface to reply-only [so the router will ignore all ARP responses on it] and change the DHCP settings to add leases to ARP table [/ip dhcp-server add-arp]. This means that the router will only be able to communicate with clients that have DHCP leases from the router.
At this point you would need to add static ARP entries for anything that isn't a DHCP client, so I suggest [if you haven't done so already] put your APs and other network infrastructure into their own VLAN with normal ARP settings.
 
piyaservice
just joined
Topic Author
Posts: 20
Joined: Fri May 15, 2015 11:16 am

Re: How to Hide Gateway from customer

Mon Oct 26, 2015 12:12 pm

If you "hide" the gateway from the clients, how do you expect the clients to get any internet access?

You asked about protecting against the 'netcut' attack. A quick google suggests netcut is an ARP poisoning attack, where a malicious user sends out ARP packets pretending to be the gateway. If you isolate the clients from each other, then a malicious client isn't going to be able to send spoofed ARP packets to other clients, pretending to be the gateway.

One more idea - change the ARP setting on your client-facing interface to reply-only [so the router will ignore all ARP responses on it] and change the DHCP settings to add leases to ARP table [/ip dhcp-server add-arp]. This means that the router will only be able to communicate with clients that have DHCP leases from the router.
At this point you would need to add static ARP entries for anything that isn't a DHCP client, so I suggest [if you haven't done so already] put your APs and other network infrastructure into their own VLAN with normal ARP settings.

Thank you for your information
in this content
At this point you would need to add static ARP entries for anything that isn't a DHCP client, so I suggest [if you haven't done so already] put your APs and other network infrastructure into their own VLAN with normal ARP settings.[/quote]

Can you have example , Because I don't understand in this content
 
loveman
Member
Member
Posts: 348
Joined: Tue Mar 10, 2015 9:32 pm

Re: How to Hide Gateway from customer

Mon Oct 26, 2015 11:29 pm

If you "hide" the gateway from the clients, how do you expect the clients to get any internet access?

You asked about protecting against the 'netcut' attack. A quick google suggests netcut is an ARP poisoning attack, where a malicious user sends out ARP packets pretending to be the gateway. If you isolate the clients from each other, then a malicious client isn't going to be able to send spoofed ARP packets to other clients, pretending to be the gateway.

One more idea - change the ARP setting on your client-facing interface to reply-only [so the router will ignore all ARP responses on it] and change the DHCP settings to add leases to ARP table [/ip dhcp-server add-arp]. This means that the router will only be able to communicate with clients that have DHCP leases from the router.
At this point you would need to add static ARP entries for anything that isn't a DHCP client, so I suggest [if you haven't done so already] put your APs and other network infrastructure into their own VLAN with normal ARP settings.
In your command
One more idea
That mean you able a static setting for arp and dhcp?
That mean in DHCP you can add static mac and ip from leases? That's right
And in ARP you can add ip and mac static?
 
loveman
Member
Member
Posts: 348
Joined: Tue Mar 10, 2015 9:32 pm

Re: How to Hide Gateway from customer

Mon Oct 26, 2015 11:31 pm

I am a follower of the subject
To how block, drop
Netcut
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 3005
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: How to Hide Gateway from customer

Tue Oct 27, 2015 5:44 am

if you can isolate clients between them, proxy arp and setting arp to reply only on interface can help assuring arp will be configured other service dynamically like dhcp
 
loveman
Member
Member
Posts: 348
Joined: Tue Mar 10, 2015 9:32 pm

Re: How to Hide Gateway from customer

Tue Oct 27, 2015 3:15 pm

if you can isolate clients between them, proxy arp and setting arp to reply only on interface can help assuring arp will be configured other service dynamically like dhcp
I am using static dhcp that mean,, DHCP static only,, when add new customer.. Going in dhcp, leases add mac our computer of coustmer and write range from ip
Your method arp affected by my dhcp leases??
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 3005
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: How to Hide Gateway from customer

Tue Oct 27, 2015 5:46 pm

if you can isolate clients between them, proxy arp and setting arp to reply only on interface can help assuring arp will be configured other service dynamically like dhcp
I am using static dhcp that mean,, DHCP static only,, when add new customer.. Going in dhcp, leases add mac our computer of coustmer and write range from ip
Your method arp affected by my dhcp leases??
like troffasky says

in dhcp server configuration check the add arp for leases option for dhcp server facing users interface

then on the interface set the arp option to reply-only

remember keep your clients isolated at access layer

Who is online

Users browsing this forum: predel and 50 guests