Skip to main content

Questions tagged [ipfw]

IPFW (IPFIREWALL) is a FreeBSD sponsored firewall software application authored and maintained by FreeBSD volunteer staff members.

0 votes
1 answer
51 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’...
usernew's user avatar
2 votes
1 answer
525 views

pfctl divert-socket in mac os?

I'm messing with divert sockets in OSX, and in order to capture any socket, I first need to set up a firewall redirection (divertion if you will): ipfw add divert 3282 tcp from any to any Something ...
toti's user avatar
  • 121
1 vote
1 answer
2k views

How do i forward traffic using alternate routing table with ipfw

I've been trying to embed reverse proxy in company infrastructure. We have 2 ISP optical lines. tun0 - interface of first ISP, output packets should use fib=0, gateway ip x.x.x.x vr1 - interface of ...
Dmitry Marov's user avatar
2 votes
1 answer
3k views

Whitelist websites for specific user on linux?

Due to a child protection and safeguarding issue, I want to set up a restricted or limited account for a tech-savvy teenager to use. I would like to whitelist only specific websites (e.g. iPlayer and ...
DMCoding's user avatar
  • 223
3 votes
1 answer
321 views

How to forward traffic out via a non-default interface?

I have a fairly vanilla home LAN with an Internet provider-supplied router providing DHCP. The router uses many of its default settings unmodified. The home network is 192.168.1.0/24 and the router ...
Mikhail T.'s user avatar
0 votes
1 answer
603 views

fail2ban/ipfw/Mac OS X server not denying connections

I am trying to set up some firewall for my 10.5 server, but I just cannot seem to get it to work. The main aim is to try to stop the constant brute force mail login attempts. To this end I installed ...
typonaut's user avatar
  • 103
3 votes
3 answers
4k views

Dummynet / ipfw error installing on Windows 10 x64

The following error is returned when trying to install netipfw.inf to my network adapter: "Could not add the requested feature. The error is: 0xE000022F" What does this mean, and how could I fix ...
MrTod's user avatar
  • 53
0 votes
1 answer
366 views

How to stop mac from auto port forwarding requests from localhost?

I have an application that is running and listening for local requests on port 4001. Whenever I start a second application to place requests through port 4001 my mac appears to be automatically ...
user416988's user avatar
0 votes
1 answer
2k views

Getting lots of pings between two routers on shared Wi-Fi. Why is it happening, and can I prevent it?

My apartment complex has a shared Wi-Fi network. There are two Cisco Meraki MR62 access points on each building, and my MacBook periodically switches between them; which is annoying because it drops ...
MHarrison's user avatar
5 votes
1 answer
7k views

limiting upload bandwidth in Mac OS X Yosemite (10.10)

I have ADSL internet, and when there is an application uploading to the Internet at full speed (e.g. Skype or Chrome during file uploads), the download bandwidth becomes very very slow. Meaning I ...
psmith's user avatar
  • 515
1 vote
1 answer
895 views

How to elegantly selectively exclude FreeBSD network traffic from OpenVPN interface by port

inexperienced sysadmin here. I'm planning on running a net daemon inside a FreeBSD jail through OpenVPN, but want to be able to SSH directly into the jail and use the daemon's web interface daemon ...
Matthew Arnold's user avatar
2 votes
1 answer
2k views

How to stop sending RST to specific IP

I want to stop sending RST to specific IP(192.168.56.101) on Mac OS X. I enter this command. But it still send RST. sudo ipfw add drop tcp from 192.168.56.1 to 192.168.56.101 in tcpflags rst What ...
uyreee's user avatar
  • 21
2 votes
1 answer
356 views

How to apply ipfw rules to domains that resolves to multiple IPs?

Suppose I wanted to use ipfw to throttle uploads to youtube. The uploads are made to upload.youtube.com but this domain resolves into multiple different IPs (which also appear to change over time). ...
GJ.'s user avatar
  • 9,903
1 vote
0 answers
71 views

Send HTTP traffic to VPN

I want to encrypt my unencrypted HTTP traffic by sending them to VPN. I tried to use this IPFW rule, but it is not seem working (I dont see traffic on VPN connection). allow ip from any to any dst-...
Bobík's user avatar
  • 121
0 votes
1 answer
2k views

Redirect/Block outgoing HTTP traffic for a specific URL on Mac

I want to know if it's possible to redirect or block HTTP traffic with a string like this command on linux : iptables -A OUTPUT -p tcp -m string --string "STRING" -j REJECT
guillaume's user avatar
  • 103

15 30 50 per page