Dear all
I try setting nat() or binat() from public IPv6 to alias ipv6 on lo1.
em0 has a public ipv6 address
lo1 has a alias ipv6
The pf.conf
When I try:
and no go... the tcpdump() shows binat out, and no more
ps: if I set in /usr/local/etc/ezjail/jailname
it works fine.
What should I do to make it work?
I try setting nat() or binat() from public IPv6 to alias ipv6 on lo1.
em0 has a public ipv6 address
lo1 has a alias ipv6
The pf.conf
Code:
IP6_PUB = "270x:xxx::xxx:xxxx"
IP6_JAIL = "fdcx:xxx:xxx::x"
binat on $extif inet6 from $IP6_JAIL to any -> $IP6_PUB
pass out on $extif inet6 proto {tcp, udp, icmp6, gre} all
pass in on $extif inet6 proto {tcp, udp, icmp6, gre} all
When I try:
Code:
$ wget -6 google.com
converted 'http://google.com' (US-ASCII) -> 'http://google.com' (UTF-8)
--2014-12-26 22:04:54-- http://google.com/
Resolving google.com (google.com)... 2607:f8b0:4002:802::1003
Connecting to google.com (google.com)|2607:f8b0:4002:802::1003|:80
and no go... the tcpdump() shows binat out, and no more
ps: if I set in /usr/local/etc/ezjail/jailname
Code:
export jail_www_ip=myipv6_external_address
What should I do to make it work?