Firewall

ID #1137

Is there a way to add a site to the Ban List for incoming connections only ?

I need to block a server from scanning my network, but I still need to be able to connect to it.

Add these firewall rules in your rc_user script:

ipfwadm -I -i deny -P tcp -W ppp0 -S 1.2.3.4
ipfwadm -I -i deny -P icmp -W ppp0 -S 1.2.3.4

replace 1.2.3.4 with the ip address you want to block and ppp0 with your external interface (ppp0 is for dialup, for ethernet routers usually eth0).

Last update: 2004-12-14 15:40
Author: Mathieu CATTIN
Revision: 1.0

Print this record Print this record
Send to a friend Send to a friend
Show this as PDF file Show this as PDF file
Export as XML-File Export as XML-File

Please rate this entry:

Average rating: 0 from 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You can comment on this entry

Comment of dingetje (2038-01-19 04:14:07):
Replace ppp0 in the above firewall rules with the external ethernet interface (f.i. eth0) if you use FREESCO as Ethernet-Ethernet router.

Comment of asda (2008-11-06 09:48:09):
We offer WoW power leveling,World of Warcraft power leveling,Warhammer Online Power Leveling & Warhammer Power Leveling & Warhammer Online Gold,if you want buy cheap wow power leveling & honor power leveling,please come here to choose. you could find any kinds of powerleveling you want. Please remember,we are your online game helper. Please remember,we are your online game helper.please come here to choose. you could find anything you want.\wow power levelingwow power levelingwow power levelingwow power levelingwow power levelingwow powerlevelingwow powerlevelingwow powerlevelingwow powerlevelingwow powerlevelingWarhammer Online Power Levelingwar levelingWarhammer levelingWarhammer Power LevelingWarhammer Online GoldWarhammer GoldWAR Power levelingWAR Goldworld of warcraft power levelingworld of warcraft power levelingworld of warcraft power levelingworld of warcraft power levelingworld of warcraft power levelingworld of warcraft powerlevelingworld of warcraft powerlevelingworld of warcraft powerlevelingworld of warcraft powerlevelingworld of warcraft powerlevelingwow goldwow goldwow goldwow goldwow goldworld of warcraft goldworld of warcraft goldworld of warcraft goldworld of warcraft goldworld of warcraft goldAOC Power LevelingAGE OF CONAN Power LevelingWarhammer Online Power LevelingWarhammer Power LevelingWarhammer Online GoldWarhammer Gold2 Moons DilMapleStory MesosMaple Story MesosMS MesosWARHAMMER ONLINE GOLDCheap WARHAMMER ONLINE GOLDRuneScape GoldRS GoldRuneScape MoneyRS MoneySilkRoad GoldSilkRoad Online GoldSRO GoldEVE ISKEVE Online ISKGaia Gold2 Moons DilWOTLK power leveling

Comment of Microsoft Office 2010 (2011-04-28 03:20:53):
ADD Microsoft Office adults' main impairments Microsoft Office 2007 include organization. pay more attention to detail, Office 2010 and the ability to Office 2007 finish tasks. Unluckily, there are a lot of technologies to support these outlook 2010 symptoms. Keep in mind: just ms office 2010 as a diabetic person needs insulin office 2010 home to thrive, be competent with assistive technologies Microsoft Office 2010 free is one of the necessary parts microsoft word of life for people with ADD if you feel afraid by download microsoft office 2010 the demands of learning micro office 2010 a new technology. it is found in the past of Office applications a design scheme. It calls the ribbon ms office 2007. One is called Groove office 2010 professional, a peer-to-peer collaboration tool, it is serviced in the Office 2010 key high-end Ultimate. If you're an adult with ADD, you download office 2010 should know MS office 2010 download the concept of having microsoft office 2007 home your addresses and appointments Microsoft Office 2010 download scattered all office 2007 key over well. You are able to office professional 2010 manage by organizing piles, but that doesn't last. I had some outlook 2010 key Franklin Planners at one time, they are all Office 2010 free in different places, everyone prone to getting lost. I used Microsoft Office 2010 key to use inspirational quotations or beautiful art on the cover to collect address books, everyone with its own separate Office 2010 download, overlapping collection of contact Microsoft outlook 2010 information. However Microsoft Office 2010, note-taking program one note that was just for a standalone product which can MS office 2010 key be found in the office 2010 microsoft Home and now Microsoft outlook, Ultimate, and Enterprise editions.

Comment of cycling jersey (2012-09-04 16:48:37):
We are a specialized sale Cycling Jersey shop,here you can find a wide range of bike jerseys, and all cheap sales and no shipping costs, where to find the bike you for your service.Cycling jerseys from brands like World Jerseys, Canari, Primal wear Monton Cycling Jersey Not eaten pork also seen pigs walk,I see that cyclists wear a, at least I think they look very professional look handsome, cool.I am OK doing anything particular about, but listened to the benefits and role of the winter.I said, I have decided for my winter Monton Cycling through the Internet to find information and friends about,Cycling Monton but also some the Cycle predecessors wearing and so on,I summarized a message,it is winter Cycling Clothing choose the Dutch brand Monton. The brand's winter jersey fleece, thermal effects, also has all the characteristics of the jersey.To get the goods, I am more on two wheels and a MONTON Cycling Kits riding life is full of anticipation and fun.