47 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
145
views
Using ipfw and pf together
I would like to use pf and ipfw at the same time for different tasks, but I can not understand who is activated first (if there is an order) when a rule is received.
Also trying to verify this, I can’...
-1
votes
4
answers
3k
views
FreeBSD port redirection for http requests
I've never used FreeBSD in my life but it's neccesary for me to deploy an HTTP API on FreeBSD. The API is deployed on port 3002.
What do I need to do to forward requests from port 80 to port 3002?
I ...
3
votes
2
answers
2k
views
Disallow egress from Docker containers on Docker for Mac
I want to disable all outgoing connections that are initiated by docker containers to the outside world. I can do this in linux by adding a rule to the FORWARD chain in linux. How do I do this in ...
0
votes
0
answers
329
views
FreeBSD: redirect some UDP traffic from one port to another
I have some specialized DNS servers running on FreeBSD 11. A few people keep hammering on them and I would like to give them different answers. So I'd like to divert UDP traffic from those hosts from ...
1
vote
0
answers
120
views
dummynet corruption, reordering of package
I am new to dummynet/ipfw and I would like to know if I can do a couple of things using this tool.
1 - I need to make an exception in the pipe of a particular IP but that for all the others if the ...
-1
votes
1
answer
420
views
IPFW with MAC ddressing on FreeBSD-11
I have two laptops that I use when I travel. I need them to have access
to my LDAP server. I tried configuring this in my IPFW firewall rules,
but they fail:
#!/bin/sh
cmd="ipfw -q add"
pif="em0"
## ...
0
votes
1
answer
659
views
Will Netmap bridging break ipfw rule on FreeBSD
I am working on setup a netmap enabled (high performance bridging firewall).
The question is if i am using netmap's bridging tools to bridge em0 and em1,
and setup ipfw rules to block some kinds ...
3
votes
0
answers
268
views
Dummynet installation on all components on system
I have a setup of 1 master node (which doubles as slave) and 2 slave nodes. I installed dummynet on the master node and configured the rules. I am wondering if I will have to do the same on the slave ...
0
votes
0
answers
113
views
At what layer of the OSI model does ipfw works?
Clearly, when I use iptables to drop packets in output of a sender A, the TCP instance of A re-send them because it never gets ACK from the receiver B of those lost packets.
In the end, depending on ...
20
votes
4
answers
3k
views
looking for alternative solution than IPFW for slowing down an internet connection
I need to slow down (simulate bad) internet connection, I found some documentation where it was achieved by "ipfw pipe" command , the thing is that in latest MAC OS versions , ipfw was deprecated (and ...
5
votes
1
answer
2k
views
Simple anti DDoS protection in FreeBSD [closed]
I have a lot of request from data centers to my web server on FreeBSD and sometimes it've have a lot of performance problem with my web projects. Adding to IPFW list all IP's data centers is ...
1
vote
2
answers
6k
views
add custom port forward rule to ipfw on freebsd
Hello I am new tu freebsd
I configured my /etc/rc.conf like this:
sshd_enable="YES"
firewall_enable="YES"
firewall_quiet="YES"
firewall_type="workstation"
firewall_myservices="4711 80"
...
1
vote
1
answer
3k
views
How to block based on Mac address on FreeBsd? (ipfw firewall)
i have worked on freebsd for a while.I installed ipfw configuration firewall and setup it. I want to filter based on Mac Adress.How can i do?I wrote that but it didn't work.
ipfw add 4 allow ip from ...
0
votes
1
answer
180
views
Dummynet does not match on flows
I have two machines as shown below:
To internet<---->PC_A<----->PC_B
PC_A has two interfaces (one connected to internet and other to PC_B). PC_B has to go through PC_A to connect to the ...
1
vote
1
answer
287
views
How does bandwidth limiting (with, say, ipfw) work?
I'm interested in making a bandwidth-control utility, and I need to limit outgoing or inbound traffic dynamically. To do this, I could use ipfw pipes, but this creates a dependency on ipfw. How do ...