firewall settings in rc.firewall
Vahric MUHTARYAN
vahric at doruk.net.tr
Thu Jan 8 16:17:51 PST 2004
Hi,
For example if you are using clint mode than go to client section for
firewall configuration you will se mynetwork en subnet section check you
wrote everything is correct.
İf you have two difference network then add sone veriables like in example
of rc.conf which include 192.168.0.0 network and write same firewall rules
Example
For your configuration
# set these to your network and netmask and ip
net="192.168.0.0"
mask="255.255.255.0"
ip="I dont know what is your "
setup_loopback
# Allow any traffic to or from my own net.
${fwcmd} add pass all from ${ip} to ${net}:${mask}
${fwcmd} add pass all from ${net}:${mask} to ${ip}
With this configuration you can allow access to your ip from 192.168.0.0
network
Vahric
-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Dan Rossi
Sent: Friday, January 09, 2004 12:05 PM
To: freebsd-questions at freebsd.org
Subject: firewall settings in rc.firewall
Hello, i am trying to make my webserver accessible to the net, i tried
to run the out of the box rc.firewall, but there was some default rules
which blocked the 192.168.0 network which is my local lan lol, so killed
it instead of helped it, anyway i tried setting it to open, but still
wont allow access to port 1023 which is wot the server is running on,
can someone please help me with an example rules which may get me going,
let me know thanks.
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list