Unix/Linux Go Back    

Security Discuss UNIX and Linux computer and network security, cyber security, cyber attacks, IT security, and more.

How to use Netfilter properly with IPv6?


Thread Tools Search this Thread Display Modes
Old Unix and Linux 11-22-2016   -   Original Discussion by SInt
SInt SInt is offline
Registered User
Join Date: Aug 2016
Last Activity: 22 November 2016, 5:39 AM EST
Posts: 2
Thanks: 2
Thanked 0 Times in 0 Posts
How to use Netfilter properly with IPv6?


on a PC with Debian 8 I try to use a Bash script with Netfilter rules so that only traffic goes in and out that is wanted. For that I set all 3 default policies to "drop". The machine uses DHCP to get its IP, gateway and DNS. And I never checked so I was quite surprised that my router/modem assings an IPv6 and not only an IPv4. I wonder if I need additional rules for IPv6. Could somebody explain that problem to me?

Sponsored Links
Old Unix and Linux 02-10-2017   -   Original Discussion by SInt
1in10's Unix or Linux Image
1in10 1in10 is offline
Registered User
Join Date: Jun 2014
Last Activity: 10 August 2017, 2:46 PM EDT
Location: Brazil
Posts: 122
Thanks: 38
Thanked 4 Times in 4 Posts
Debian 8.x works a bit more sophisticated on that issue, but check on the GUI your network configurations. Probably there should be an icon where you can disable the IPv6 support and the whole thing. Traffic will not even be started on that. If it works like this, fine, otherwise, try to find the interface in /etc and may comment it out. Hope that helps. Cheers.
Once you have the opportunity to look at the network interfaces and their connections, you can disable or enact them, as well you can set the DNS and the Gateway. The complication of Debian is, that it offers two of that tools.

Last edited by 1in10; 02-10-2017 at 07:51 AM.. Reason: explanation
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Assigning ipv6 to bonding interface - getting old as well as changed ipv6 in ifconfig output omkar.jadhav UNIX for Dummies Questions & Answers 1 04-18-2016 10:17 AM
netfilter / iptables Arun.Kakarla Linux 1 06-09-2009 01:59 PM
extending netfilter...plz help Rakesh Ranjan Programming 1 02-20-2006 02:30 AM
Help in extending netfilter Trusted Penguin Programming 0 09-13-2005 12:18 PM

All times are GMT -4. The time now is 06:26 AM.