Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Apr 2021 06:04:39 +0900 (JST)
From:      WATANABE Takeo <take@kasaneiro.jp>
To:        hiroo@oikumene.net
Cc:        freebsd-users-jp@freebsd.org
Subject:   [FreeBSD-users-jp 96757] Re:  =?iso-2022-jp?b?GyRCIVYbKEJ2NhskQiVXJWklORsoQiAbJEI4R0RqGyhC?= =?iso-2022-jp?b?SVAbJEIlNSE8JVMlOSFXJEckThsoQklQSVAbJEIlSCVzJU0layROGyhC?= =?iso-2022-jp?b?GyRCQF9EaiROO0VKfRsoQg==?=
Message-ID:  <20210406.060439.139294620503090965.take@kasaneiro.jp>
In-Reply-To: <a51941cc-40ce-4c14-bf4e-e43fcd67f5e0@oikumene.net>
References:  <053ea883-44d7-4902-842d-b532058b72e7@oikumene.net> <20210329.042329.1073458416831780696.take@kasaneiro.jp> <a51941cc-40ce-4c14-bf4e-e43fcd67f5e0@oikumene.net>

next in thread | previous in thread | raw e-mail | index | archive | help
$BEOIt$G$9!#(B

on Sat, 03 Apr 2021 07:01:02 +0900
Hiroo Ono <hiroo@oikumene.net> wrote: 

> $B>.Ln42@8$G$9!#(B
> 
> pf $B$N@_Dj$K$D$$$F$G$9$,!"(Bpf.conf(5) $B$N(B TRANSLATION $B$N9`L\$r8+$k$H(B
> 
>     nat   A nat rule specifies that IP addresses are to be changed as the
>           packet traverses the given interface.
> 
> $B$H$"$j$^$9!#(B
> $B8=:_$N@_Dj$G$O(B gif0 $B$K%k!<%F%#%s%0$7$F$$$k$N$G!"DL$k%$%s%?!<%U%'!<%9$O(B
> gif0 $B$r;XDj$7$J$$$H$$$1$J$$$N$G$O$J$$$G$7$g$&$+!#(B
> 
> On 2021$BG/(B3$B7n(B29$BF|7nMKF|(B 4$B;~(B23$BJ,(B29$BIC(B JST, WATANABE Takeo wrote:
>> $BEOIt$G$9!#(B
> 
>> wan = "ixl0"
>> lan = "ixl1"
>>
>> scrub inall
>>
>> # IPv4 NAT
>> nat on $wan inet from 192.168.131.64/27 to any -> 106.185.148.119/32
> 
> nat on gif0 inet from 192.168.131.64/27 to any -> 106.185.148.119
> 
> lo0 $B$G$O$J$/(B gif0 $B$K(B IPv4 $B%"%I%l%9$r?6$l$P%$%s%?!<%U%'!<%9$N;XDj$G$$$1(B
> $B$k$N$G$O$J$$$+$H;W$$$^$9!#(B

gif0 $B$G(B nat $B$9$k$h$&$K$7$F!$(Bv4 $B%"%I%l%9$r(B gif0 $B$K3d$jEv$F$?$i!$DL$j$^$7$?!#(B

$B65$($F$/$@$5$C$F!$K\Ev$K$"$j$,$H$&$4$6$$$^$7$?!#(B

---
WATANABE, Takeo
take@kasaneiro.jp





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