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(8)? My IPv6 address works absolutely fine even with those ports blocked so I was wondering if there's a way I can stop those messages from appearing?
I was able to get rid of the messages by adding the following rules to /etc/rc.firewall:
but I'm not sure if those rules are safe or not? I plan on using this for just a basic webserver so I only need ports 22, 80, and 443 open.
Here's a part of my /etc/rc.conf:
Thank you! I'm enjoying FreeBSD A LOT
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(8)? My IPv6 address works absolutely fine even with those ports blocked so I was wondering if there's a way I can stop those messages from appearing?
I was able to get rid of the messages by adding the following rules to /etc/rc.firewall:
Code:
${fwcmd} add pass udp from fe80::/10 to ff02::/16 546 in
${fwcmd} add pass udp from fe80::/10 to ff02::/16 547 in
${fwcmd} add pass udp from fe80::/10 to ff02::/16 5355 in
Here's a part of my /etc/rc.conf:
Code:
# IPv6
ifconfig_vtnet0_ipv6="inet6 myipv6 prefixlen 64"
ipv6_defaultrouter="mygatewayipv6"
# IPFW Firewall
firewall_enable="YES"
firewall_quiet="YES"
firewall_type="workstation"
firewall_myservices="22 80 443"
firewall_allowservices="any"
firewall_logdeny="YES"