Re: IPFW
"Per Engelbrecht" <[email protected]> Thu, 22 Jan 2004 10:30:34 +0100 (CET)
| Newsgroups | gmane.os.freebsd.configuration |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected] > > 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= > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-config > To unsubscribe, send any mail to > "[email protected]" _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-config To unsubscribe, send any mail to "[email protected]"