Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2011 04:47:47 -0600 (CST)
From:      Dan The Man <dan@sunsaturn.com>
To:        freebsd-current@freebsd.org
Subject:   pf.conf + IPV6 to IPV4 port rdr
Message-ID:  <alpine.BSF.2.00.1112010442080.81020@sunsaturn.com>

next in thread | raw e-mail | index | archive | help


pfctl -v -s nat

rdr inet6 proto tcp from any to 2001:49f0:4004::/48 port = 9191 -> 
::ffff:67.159.46.238
   [ Evaluations: 512       Packets: 3         Bytes: 228         States: 1 
]
   [ Inserted: uid 0 pid 80940 State Creations: 2     ]


I can see here that after i tried on another host to telnet to
2001:49f0:4004::2 9191 , that a state was in fact created for the rdr,
but it doesn't appear to be actually forwarding:

My rule:

rdr inet6 proto tcp to 2001:49f0:4004::/48 port 9191 -> ::ffff:67.159.46.238

Am I missing something here? I have checked on ipv6 forwarding and 
redirects set to 1, net.inet6.ip6.v6only=0 to allow the mapping...
I can even telnet to ::ffff:67.159.46.238 9191 from any host yet it will 
not forward the 2001:49f0:4004:: addresses, and yes inet6 is allowing the 
port to pass, so this makes no sense to me....


Dan.



--
Dan The Man
CTO/ Senior System Administrator
Websites, Domains and Everything else
http://www.SunSaturn.com
Email: Dan@SunSaturn.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1112010442080.81020>