Date: Thu, 22 Jan 2004 10:30:34 +0100 (CET) From: "Per Engelbrecht" <per@xterm.dk> To: <konn_@msn.com> Cc: freebsd-config@freebsd.org Subject: Re: IPFW Message-ID: <36045.62.242.151.142.1074763834.squirrel@mailbox.wingercom.dk> In-Reply-To: <BAY4-F3ATie5bLyFG7X0000e600@hotmail.com> References: <BAY4-F3ATie5bLyFG7X0000e600@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Umar Welcome to the BSD world! First of all you have to do some homework on your own. What you're asking is a bit like "I've got me at Boing 747 - how do I fly it ?"A more reasonable question would be "I've read the manual for my Boing, buthow do I set the stab for take-off ?" To get you jump-started on firewall setup, edit a copy of /etc/rc.firewallaccordingly to your needs (it itself, contains a lot of good comments) then addfirewall type in /etc/rc.conf, then run 'shutdown now' + 'return' + 'exit' (this willre-read your startup-script (=rc.conf)) all this as root of course - and bingo, yougot yourself a firewall. This was an extreemly short version. Read firewall(7)and ipfw(8) among others. respectfully /per per@xterm.dk > > hi > > i am a new user of freeBSD. > > I have a server of Linux 7.3 with dsl connection. Now on Linux > 7.3 i have configure Squid as transparent and also Linux 7.3 > running as a Gatway. > > i have use these command for configure transparent Proxy for my > users > > iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j > REDIRECT --to-port 8080 > iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to 202.147.x.x > > now its running fine. Every Thing is fine. My Client Just add my > linux 7.3's ip as a Gateway and DNS (and access internet) > > now i want Linux 7.3 replace with FreeBSD 4.8. so there is no > iptables in freeBSD. there is ipfw plz tel me how i can configure > my freebsd machine that my freebsd machine can work as a gateway > and also running squid as a transparent. > > thanks and regards > > Umar Draz > _________________________________________________________________ > > The new [1]MSN 8: smart spam protection and 2 months FREE* > > References > > 1. http://g.msn.com/8HMAEN/2737??PS= > _______________________________________________ > freebsd-config@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-config > To unsubscribe, send any mail to > "freebsd-config-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36045.62.242.151.142.1074763834.squirrel>