Community discussions

MikroTik App
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Block Lan Over Wireless Network !

Sun Apr 11, 2010 10:47 am

Hi Friends
i have a Wireless Network with Address of 172.16.16.0/24 with Hotspot!
and Lan with 192.168.168.0/24
if Wireless Users Set the Secondary IP address in Range of 192.168.168.0/24 Can Connect to My Lan PC's & Ping That!
I'm Using a RB433 for My Wireless & Bridged to My RB800
Hotspot Run in RB 800 on ether3
MY LAN Users is on Ether2 &
The Internet Give from Ether1

How to Block Them , for Can't Connect to My LAN Range ?
Thanks
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Re: Block Lan Over Wireless Network !

Sun Apr 11, 2010 7:39 pm

Anyone Know ?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Block Lan Over Wireless Network !

Sun Apr 11, 2010 8:10 pm

Can you draw a network diagram?
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Re: Block Lan Over Wireless Network !

Sun Apr 11, 2010 8:50 pm

This is My Network :
Image
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Block Lan Over Wireless Network !

Sun Apr 11, 2010 9:10 pm

Make a firewall rule that blocks traffic entering the ether3 interface destined to the LAN network.
/ip firewall filter
add chain=forward in-interface=ether3 dst-address=192.168.168.0/24 action=drop
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Re: Block Lan Over Wireless Network !

Sun Apr 11, 2010 9:24 pm

Thanks , But ... i'm Connect in LAN and Binding The RB433 as 192.168.2.2 and After Enabling That Filter Rule , Can't Connect to My RB433 form My PC!
192.168.2.1 is Set on Ether3 (RB800)
192.168.168.1 is Set on Ether2 (RB800)
and 192.168.2.2 is Set on Bridge & Bind to RB433
My IP on LAN is : 192.168.168.2
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Block Lan Over Wireless Network !

Sun Apr 11, 2010 11:00 pm

Your diagram doesn't show any IP space for 192.168.2.2.

Do you have two IP addresses on ether3? 192.168.2.2 and 172.16.16.1?
 
csickles
Forum Guru
Forum Guru
Posts: 1255
Joined: Fri May 28, 2004 8:46 pm
Location: Phoenix, AZ
Contact:

Re: Block Lan Over Wireless Network !

Sun Apr 11, 2010 11:14 pm

You can use the drop rule in a range IE: 192.168.0.2 - 192.168.0.255
This allows for the 433 only.

OR
create an allow rule BEFORE the drop rule for the 433.

OR a chain that looks for the 433 traffic by specific ports and then dropps all else..

Just some ideas..
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Re: Block Lan Over Wireless Network !

Mon Apr 12, 2010 7:57 am

Your diagram doesn't show any IP space for 192.168.2.2.

Do you have two IP addresses on ether3? 192.168.2.2 and 172.16.16.1?
sry , yes , two IP address is Set on Ether3

, Can Write the Codes ?
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Re: Block Lan Over Wireless Network !

Tue Apr 13, 2010 12:43 pm

but , Now How to That ?
Anyone !!? :?
 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 229
Joined: Tue Aug 11, 2009 4:01 pm
Location: Boryspil

Re: Block Lan Over Wireless Network !

Fri Apr 16, 2010 10:53 am

Anyone Know ?
 
User avatar
fatonk
Member
Member
Posts: 438
Joined: Tue Feb 22, 2005 11:06 am
Location: Mitrovica/Kosova

Re: Block Lan Over Wireless Network !

Fri Apr 16, 2010 4:11 pm

Hi,

/ip firewall filter
add chain=forward in-interface=ether3 src-addres=172.16.16.0/24 dst-address=192.168.168.0/24 action=drop

Regards

Faton

Who is online

Users browsing this forum: Amazon [Bot], sas2k and 34 guests