ipfw

  1. T

    IPFW Stateful firewall with OpenVPN and in-kernel NAT

    Having a bit of a time getting stateful firewall with OpenVPN and in-kernel NAT to work, which is a few lines of iptables rules on Linux: *nat :pREROUTING ACCEPT [0:0] :pOSTROUTING ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE -A POSTROUTING -s...
  2. S

    IPFW IPFW Rules

    Hi Team, I want to understand the IP firewall rules. Consider the below rule ipfw allow tcp/udp from any to me What this rule will do? What me refers here? Is it IP address of my system that apply firewall rules? Or MAC address of the interface? I am using 4.2 FreeBSD stack. I am trying to...
  3. M

    IPFW PF & IPFW: packet passing order

    Hi, I want to setup PF for round-robin NAT and ipfw for traffic shaping and filtering, but I can't find an appropriate description of a packet trip through firewalls in FreeBSD. So if I'll specify in rc.conf: firewall_enable="YES" dummynet_enable="YES" pf_enable="YES" will it mean that packet...
  4. C

    Solved My 1st FreeBSD server shows blocked msgs from ports 546,547, and 5355

    Hi everyone! I just setup my very first FreeBSD server on a VPS and everything is going great but I noticed in my /var/log/security log that there is lots of IPFW Deny messages for ports UDP 546, 547, and 5535 for IPv6. I looked those ports up and they seem to be related to dhclient? My IPv6...
  5. FKEinternet

    Solved ipfw vs. ping puzzle

    My servers Dreamer and Wren each have two interfaces, connected to two routers. The re0 interfaces are connected to the 192.168.14.* subnet, and the re1 interfaces are connected to the 192.168.1.* subnet. The 192.168.1.* subnet originates at a Verizon router, which is also upstream from an...
  6. dave

    IPFW Simple IPFW Setup From Handbook Locks Me Out

    Hello, /etc/rc.conf firewall_enable="YES" firewall_type="open" ...followed by... sudo service ipfw start ...results in immediate loss of all connectivity. Am I missing something? FreeBSD 10.2-RELEASE-p7
  7. J

    IPFW Ordering of ipfw rules and sets

    Hi, this is a question about the ordering of ipfw rules. As stated in the documentation ( https://www.freebsd.org/doc/handbook/firewalls-ipfw.html ), the ipfw command syntax is: CMD RULE_NUMBER set SET_NUMBER ACTION log LOG_AMOUNT PROTO from SRC SRC_PORT to DST DST_PORT OPTIONS Does the...
  8. J

    IPFW ipfw stateful ftp?

    Hi everyone, I'm new to this forum and I got into FreeBSD only a few weeks ago (I used Linux before that). I'm trying to set up a minimal firewall configuration for a remote computer. Here is the script in my /etc/ipfw.rules file. #!/usr/bin/env bash nic=`netstat -r | awk '/^default/ {print...
  9. A

    IPFW natd to ipfw nat

    Hello there, I just deployed simple private OpenVPN service by following instructions from: https://www.digitalocean.com/community/tutorials/how-to-configure-and-connect-to-a-private-openvpn-server-on-freebsd-10-1 Well, everything seems to be fine ... except I observed that 'natd' process...
  10. xoptov

    Solved ipfw0: That device doesn't support promiscuous mode

    Hello! I have very strange issue with ipfw0. My kernel has options IPFIREWALL and IPFIREWALL_VERBOSE but when I try listen ipfw0 interface see warning in my console: tcpdump: WARNING: ipfw0: That device doesn't support promiscuous mode (BIOCPROMISC: Invalid argument) What is I can fix for...
  11. AlexUnix

    IPFW IPFW Kernel NAT is not working

    Please help. I have version 10.2-RELEASE with kernel NAT configured. Ping request pass to external adapter, but don't route back to internal. Internal (ue1): # tcpdump -ni ue1 | grep 5.255.255.5 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ue1...
  12. B

    Solved Basic firewall config for a host

    Hello, everyone, and nice to meet you! I am new to FreeBSD (so fresh that I'm downloading the ISO as I write, that means I've never used FreeBSD before). I come from the Linux world and one of the first things I do when I install a distro, before going to update and configure it, is to set up...
Back
Top