Date: Fri, 9 Jan 2004 02:17:33 +0200 From: "Vahric MUHTARYAN" <vahric@doruk.net.tr> To: "'Dan Rossi'" <daniel@electroteque.org>, <freebsd-questions@freebsd.org> Subject: RE: firewall settings in rc.firewall Message-ID: <auto-000071016691@doruk.net.tr> In-Reply-To: <1073642681.2625.1.camel@dev>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,=20 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. =20 =DDf 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=20 Example=20 For your configuration=20 # set these to your network and netmask and ip net=3D"192.168.0.0" mask=3D"255.255.255.0" ip=3D"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=20 Vahric=20 -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Dan Rossi Sent: Friday, January 09, 2004 12:05 PM To: freebsd-questions@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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?auto-000071016691>