News: This forum is now permanently frozen.
Pages: [1]
Topic: M0n0wall Interfaces OPT1 rules for allowing one pc through  (Read 1213 times)
« on: November 22, 2012, 16:52:30 »
snowman2344 *
Posts: 26

I have a setup of M0n0wall with Lan and Opt1 (called Public) I have restricted all traffic from Public to Lan BUT I need to allow one pc to access the Lan from the Public blocking any others. How would I setup the rules for this?

Lan subnet 10.10.15.0
Public subnet 192.168.0.0
The PC is at 192.168.0.20 that needs access to the Lan

Currently the rules are as follows

LAN
Proto *
Source LAN net
Port *
Destination *
Port *
Description  Default LAN -> any   
Many other rules added after this one for other things

Public
Proto *
Source Public net
Port *
Destination ! LAN net
Port *
Description  Default Public -> internet 
No other rules

Thanks
« Reply #1 on: November 22, 2012, 17:11:59 »
Fred Grayson *****
Posts: 994

You need to add a rule on the OPT1 interface ABOVE the one you already have like so. Consider restricting the Proto to be tighter than *


Public
Proto *
Source IP Address of the one PC you wish to allow acess to LAN
Port *
Destination LAN net
Port *
Description  Allow one specific PC on OPT1 to acess LAN

Public
Proto *
Source Public net
Port *
Destination ! LAN net
Port *
Description  Default Public -> internet

--
Google is your friend and Bob's your uncle.
« Reply #2 on: November 22, 2012, 18:50:45 »
snowman2344 *
Posts: 26

WOW so simple the ABOVE made all the diffrence thanks alot
« Reply #3 on: November 22, 2012, 19:00:04 »
Fred Grayson *****
Posts: 994

Yer welcome. Enjoy your m0n0wall.

--
Google is your friend and Bob's your uncle.
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines