Port forwarding for ipv6?

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
darose
DD-WRT Novice


Joined: 06 Aug 2018
Posts: 13

PostPosted: Mon Aug 06, 2018 19:07    Post subject: Port forwarding for ipv6? Reply with quote
Is there a way for dd-wrt to do port forwarding for ipv6 addresses?

I have a rule in my dd-wrt UI that successfully forwards traffic from a port on the router to a port on a server in my LAN. However, this seems to only work using ipv4. (The rule is set up using ipv4 addresses.) When I try to access that same port on the router using ipv6 addresses, the forwarding fails.

This is a bit of a nuisance, as whether the port forwarding succeeds depends on whether the client machine is using ipv6 or not.

Is there any way to address this issue?

Thanks,

DR
Sponsor
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6867
Location: Romerike, Norway

PostPosted: Mon Aug 06, 2018 20:05    Post subject: Reply with quote
With IPv6, each node have a Public address. There is no port forwarding. Just access the client with it's address directly.

Open a hole in the firewall to get access from the WAN using ip6tables.

http://ipset.netfilter.org/ip6tables.man.html

ip6tables -I FORWARD -i `get_wanface` -d [2001:abcd:abcd::100] -p tcp -port 80 -J ACCEPT
Display posts from previous:    Page 1 of 1
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