[SOLVED] IPv6 Port Forwarding?

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page 1, 2  Next
Author Message
Geremia12
DD-WRT User


Joined: 05 Sep 2012
Posts: 77

PostPosted: Sun May 31, 2020 4:16    Post subject: [SOLVED] IPv6 Port Forwarding? Reply with quote
NAT / QoS → Port Forwarding doesn't allow me to enter IPv6 addresses.

How do I forward IPv6 packets to a destination LAN IP Address?
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6589
Location: UK, London, just across the river..

PostPosted: Sun May 31, 2020 6:57    Post subject: Reply with quote
there is no nat in ipv6...
i guess you have to use iptables commands..
does your local/router LAN has ipv4 addresses ?

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 58184 WAP
TP-Link WR1043NDv2 -DD-WRT 58184 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 58283 Gateway/DoT,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 58362 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 58207 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13281
Location: Netherlands

PostPosted: Sun May 31, 2020 8:10    Post subject: Reply with quote
In addition to @Alozoros, IPv6 is a global address thus needs no NAT (although it is not impossible)

Portforwarding exists of two things: address translation, which is not necessary for IPv6, and opening up a port in the firewall.
This last thing has to be done to give access (providing you have an IPv6 firewall running on the router and I do not use it myself so actually I do not know if there is an IPv6 Firewall in place but I should think so Smile )

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Geremia12
DD-WRT User


Joined: 05 Sep 2012
Posts: 77

PostPosted: Sun May 31, 2020 23:24    Post subject: Reply with quote
That's what I thought, but I wonder why I'm not getting any incoming IPv6 traffic to my site anymore. I didn't change any server settings.

Is there a way I can test this?
Geremia12
DD-WRT User


Joined: 05 Sep 2012
Posts: 77

PostPosted: Mon Jun 01, 2020 1:25    Post subject: Reply with quote
Also, my old Asus router software had a separate page for IPv6 port forwarding. Why doesn't DD-WRT?
Geremia12
DD-WRT User


Joined: 05 Sep 2012
Posts: 77

PostPosted: Tue Jun 02, 2020 23:27    Post subject: Reply with quote
Alozaros wrote:
there is no nat in ipv6...
Then what's blocking incoming IPv6 packets?

Alozaros wrote:
i guess you have to use iptables commands..
Which one?

Alozaros wrote:
does your local/router LAN has ipv4 addresses ?
The LAN DHCP assigns IPv4 and IPv6.
Geremia12
DD-WRT User


Joined: 05 Sep 2012
Posts: 77

PostPosted: Tue Jun 02, 2020 23:28    Post subject: Reply with quote
egc wrote:
Portforwarding exists [for] opening up a port in the firewall.
This last thing has to be done to give access (providing you have an IPv6 firewall running on the router and I do not use it myself so actually I do not know if there is an IPv6 Firewall in place but I should think so Smile )
I think there is an IPv6 firewall. Something's blocking incoming IPv6 ports.
How do I open them?
Geremia12
DD-WRT User


Joined: 05 Sep 2012
Posts: 77

PostPosted: Wed Jun 03, 2020 1:06    Post subject: Reply with quote
Adding this to the Firewall section of 192.168.1.1/Diagnostics.asp worked:
Code:
ip6tables -I FORWARD -p tcp -d <destination_IPv6_address> --dport 443 -j ACCEPT
(Replace <destination_IPv6_address>.)
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14849
Location: Texas, USA

PostPosted: Wed Jun 03, 2020 1:19    Post subject: Reply with quote
https://www.interfacett.com/videos/ipv6-port-redirection/
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13281
Location: Netherlands

PostPosted: Thu Jun 04, 2020 7:42    Post subject: Reply with quote
Nice tutorial thanks
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Geremia12
DD-WRT User


Joined: 05 Sep 2012
Posts: 77

PostPosted: Thu May 02, 2024 22:25    Post subject: Reply with quote
Geremia12 wrote:
Adding this to the Firewall section of 192.168.1.1/Diagnostics.asp worked:
Code:
ip6tables -I FORWARD -p tcp -d <destination_IPv6_address> --dport 443 -j ACCEPT
(Replace <destination_IPv6_address>.)
Someone should add this solution to the wiki page.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13281
Location: Netherlands

PostPosted: Fri May 03, 2024 5:41    Post subject: Reply with quote
Be my guest
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Geremia12
DD-WRT User


Joined: 05 Sep 2012
Posts: 77

PostPosted: Fri May 03, 2024 17:37    Post subject: Reply with quote
egc wrote:
Be my guest
How do I edit the wiki? When I try to log in, it doesn't recognize the same credentials I use to login to this forum.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14849
Location: Texas, USA

PostPosted: Fri May 03, 2024 21:54    Post subject: Reply with quote
Because the accounts and resources are not conjoined other than possibly existing on the same server. It's been added. Wasn't high on my priority list.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Geremia12
DD-WRT User


Joined: 05 Sep 2012
Posts: 77

PostPosted: Fri May 03, 2024 22:45    Post subject: Reply with quote
kernel-panic69 wrote:
It's been added.
It still says:
Code:
 Login error: There is no user by the name "Geremia12". Check your spelling, or create a new account.
How do I create a new account?
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum