Hacker News new | ask | show | jobs
by lokedhs 3650 days ago
Earlier in this thread, it was mentioned they are offering IPv6. I'd expect those addresses to be public at least?
1 comments

I wasn't aware of that. I'll have to look into it.
Internal IPv6 addresses are publicly addressable on Webpass but you may have to enable it on your router.

If you have terminal access to your router and it supports iptables, you can manually enable forwarding for a specific port like this:

ip6tables -I INPUT -p tcp --dport 5005 -j ACCEPT ip6tables -I INPUT -p tcp --dport 5005 -j ACCEPT ip6tables -I FORWARD -p tcp --dport 5005 -j ACCEPT ip6tables -I FORWARD -p tcp --dport 5005 -j ACCEPT ip6tables -I FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

Note that if you're using this for Api callbacks like AWS Lamda, they do not support IPv6 and then your best bet is a VPN tunneled to your local device.

Good luck!

What's the use case for using port forwarding with IPv6 rather than just allowing the traffic to the machine in question?
I believe the above ip6tables rules already do what you describe; the only target is "ACCEPT", with no packet mangling.