Questions tagged [ipfw]

IPFW is is a native firewall built into FreeBSD.

IPFW is a stateful firewall included in the basic FreeBSD install as a kernel loadable module and supports both IPv4 and IPv6. It is comprised of several components: the kernel firewall filter rule processor and its integrated packet accounting facility, the logging facility, NAT, the dummynet(4) traffic shaper, a forward facility, a bridge facility, and an ipstealth facility.

61 questions
0
votes
1 answer

IPFW Forward outgoing traffic

So i have a single BSD firewall using NATD and IPFW. This firewall has 5 static IP's assigned to it. Using NATD i can easily forward and entire external ip to an internal ip. But when the internal server sends it's response how do i get it to come…
TriadicTech
  • 448
  • 2
  • 5
  • 14
0
votes
1 answer

HTTPD dies on FreeBSD if multiple connenctions are open from same client

I've asked this question on StackOverflow, but nobody answered, until yesterday... and the answer was a suggestion... to ask this here :). So... can someone help me with this : I'm new in networking and security and I have a problem with HTTPD…
0
votes
1 answer

Why do these ipfw delayed pipes have no effect?

I'm on OSX 10.7.5 and am attempting to add some latency to the connection to my personal domain with ipfw, using this article as a guide. Normal latency: > ping -c5 troutwine.us PING troutwine.us (198.101.227.131):…
troutwine
  • 1,382
  • 5
  • 16
  • 32
0
votes
1 answer

Server freeze on flushing ipfw

I got strange problem with ipfw on FreeBSD 8.2, the problem is when I'm trying to flush the ipfw , by the following command: /sbin/ipfw -q -f flush or /sbin/ipfw flush and then y My dedicated server freezes, and ISP need to hard reboot it. Could…
Scott
  • 153
  • 6
0
votes
2 answers

Redirecting port 80 requests to local web server with IPFW

I'm setting up a freebsd router and want certain IPs on my network to be forwarded to our local webserver if they make port 80 requests. An example would be - banned user tries to surf the web, but all his requests are forwarded to the web page…
Alec T
  • 463
  • 1
  • 9
  • 20
0
votes
1 answer

Setup a local bridged connection using VirtualBox

I'm trying to forward/masquarade some trafic from my guest CentOS6 (virtualbox with bridged connection). Host is OSX Lion. Here is my network layout: en1 - host iface address: 78.251.xx.yy alias: 10.0.2.1 eth0 - guest iface address:…
0
votes
2 answers

FreeBSD 4.7 missing IPFW - How do I install it?

I have two FreeBSD servers that are on 4.7. These are two older servers that were already configure and setup when I got here. Now that the original admins are gone, I've started looking a bit more at these servers and I've come to find there's no…
Safado
  • 4,726
  • 7
  • 35
  • 53
0
votes
1 answer

port forwarding to server outside dmz from one inside dmz

we are running mysql replication between a server outside dmz and one inside dmz, for this we need port forwarding. We have had it set up, but it recently stopped working. Just before we added a rule (rule number 01500) that would allow traffic for…
CodeReaper
  • 234
  • 2
  • 9
0
votes
1 answer

How to install ipfw / DummyNet on Ubuntu 10.10?

There seems to be a man page an ipfw but I can't find what package I have to install to use ipfw / DummyNet. Any hints?
Jan Deinhard
  • 2,363
  • 5
  • 26
  • 33
0
votes
1 answer

Using NTPD on OpenBSD to get time from Linux using portforwarding

This is a rehash of another question, now that I understand things a bit better. I have the following network set up: NTP 10.21.3.169 | \______________ | \ 10.21.3.160 (eth1) | L1 …
Rich
  • 1,333
  • 5
  • 27
  • 39
0
votes
0 answers

Migrated JAILs from TrueNAS 11.3 to JAILS over FreeBSD 13 with VNET and now IPFW inside JAIL not work: kldload ipfw - not permitted

In jail under TrueNAS 11, was mail server that can block IPs by IPFW rules. Now I move JAIL to FreeBSD 13.1, and detect that same JAIL with same settings, not allow to load IPFW inside jail. kldload ipfw kldload: can't load ipfw: Operation not…
lexxai
  • 14
  • 3
0
votes
0 answers

Free BSD IP forwarding for LVS NAT mode

I am testing LVS NAT mode with centos as Keepalived node and FreeBSD as real server. This question is already answered in context of Linux. Now the question is how to make an L3 host as a default gateway for outgoing traffic on specific port (Policy…
0
votes
1 answer

bandwidth throttle on OSX with IPFW for localhost

I have my localhost webiste on http://macintosh.local - 127.0.0.1 Testing my website also for IE on the same address in VMWare Fusion I tried some Apps from hanynet.com/applications/ like WaterRoof. Never managed to get it working though. I realize…
Anton
0
votes
1 answer

FreebSD ipfw: using not with multiple addresses

Any ideas why this rule won't parse? ipfw add 10 deny ip from \{ not 127.0.0.1 and not 10.12.34.0/24 \} to any 53 out xmit wan0 ipfw doesn't like and and says: ipfw: missing ")" I've tried other variants, for example, putting the not in front of…
pnadeau
  • 43
  • 4
0
votes
1 answer

Allowing access to UDP range port in ipfw/FreeBSD

I have prepared the following configuration: # cat /etc/firewall.conf add 1000 count udp from any to me 10000 add 1001 count udp from any to me 10001 add 1002 count udp from any to me 10002 add 65000 allow ip from any to any This is the output…
M.E.
  • 124
  • 10