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?

Security


Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 11-22-2016
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?

Hello,

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?


Greetings,
SInt
Sponsored Links
    #2  
Old Unix and Linux 02-10-2017
1in10's Unix or Linux Image
1in10 1in10 is offline
Registered User
 
Join Date: Jun 2014
Last Activity: 1 April 2017, 9:44 PM EDT
Location: Brazil
Posts: 121
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 06:51 AM.. Reason: explanation
Sponsored Links
Reply

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 09:17 AM
netfilter / iptables Arun.Kakarla Linux 1 06-09-2009 12:59 PM
extending netfilter...plz help Rakesh Ranjan Programming 1 02-20-2006 01:30 AM
Help in extending netfilter Trusted Penguin Programming 0 09-13-2005 11:18 AM



All times are GMT -4. The time now is 01:10 AM.