Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[Tutorial] IPv6 and the Firewall

IPv6 and the Firewall


More and more services are enabling IPv6.
More and more ISP's are supporting it to their end users.
And you should to!

Pro: Much Larger Address Space
Pro: Virtually Unlimited Host Addresses per Prefix
Pro: Stateless Autoconfig
Draw: No More IP Scanning


Please check the sources for more information about IPv6

Sources:
packetlife.net
Wikipedia.org

Long story short. You don't need to portforward in IPv6
Why? Cause your ISP will give you a /64 prefix 2 to the power of 64 IPv6 adresses.

Code
18 446 744 073 709 551 616 adresses

This is my IPv6 subnet.
Spoiler (Click to View)

So you don't really need to port-forward. But there still is a Firewall that you'll need to configure.
You'll most likely get a screen like this or with similar options.

Spoiler (Click to View)

naam firewall rule: GIVE_A_NAME_TO_RULE
Protocol: chose between TCP, TCP&UDP, ANY or ICMPv6 (pings)
Source: could be a single host or ANY
Port of range: -->

accessing a service:
Just type the port of your service
Ex. You want to access ssh on server X give in port 22


Offering a service
just type 1024:65535
Ex. You want to offer SSH to another client on the interwebs give in 1024:65535
Sounds weird right?
It isn't. When you make a connection to another service you assign a dynamic port to your computer for establishing that connection.


Sources:
https://support.microsoft.com/en-us/kb/929851
https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
https://en.wikipedia.org/wiki/Port_(comp...etworking)

Destination: Host
IP-adres: GIVE_IN_YOUR_IPv6
port of range:

accessing a service:
1024:65535
offering a service:
Ex. SSH --> 22

Mode:
Accept
open up the firewall 🙂

Drop
Drop everything close the firewall nothing will get through send no response 👹

Block
Block the packet but your nice and send a reply to the client that the packet is being blocked 🎉

Sources:
Drop vs Reject

Public Honeypot Project: https://github.com/Slober3/PotHead
Honeypot Twitter: https://twitter.com/HoneyHive9
BTC: 1Anime1QrjwsEmz8bC2FwVcNXDLxP3SWAJ

Erin Wrote:It’s fine. There’s nothing to be afraid of. Calm down, Lilan


Possibly Related Threads...
Thread / Author Replies Views Last Post
by guardianJan 7, 2022 11:25 PM 11 383 Jan 7, 2022 11:25 PM
Last Post: guardian
by ReverseZMay 7, 2020 04:24 PM 2 146 May 7, 2020 04:24 PM
Last Post: ReverseZ
by DominusandoMay 15, 2019 05:50 AM 1 194 May 15, 2019 05:50 AM
Last Post: BTC