What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Ip6tables nginx

router_master

New Around Here
I have a server nginx devices Raspberry IPv6 capable router and I'm trying to redirect port 80. What am I doing wrong?

Code:
ip6tables -t nat -A PREROUTING -p tcp -d 2001:470:11:111::1 --dport 80 -j DNAT --to 2001:470:71:302:5f63:6a3d:2e67:bac3:80

ip6tables -A FORWARD -p tcp -d 2001:470:71:302:5f63:6a3d:2e67:bac3/64 --dport 80 -j ACCEPT

Error:
Code:
ip6tables v1.4.14: unknown option "--to"

----
Problem solved! The IPv6 is not DNAT.
 
Last edited:

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top