Re: 答复: Openbsd6.1 as firewall can access the internet but the LAN behind it cannot

2017-06-22 Thread Edgar Pettijohn
e terminal. Is there >something I need to improve? > > >Thanks for hitting my head again. >Lujian > > > > >发件人: Alexander Hall >发送时间: 2017年6月21日 19:19 >收件人: misc@openbsd.org; Josh Grosse; lu jian >主题: Re: Openbsd6.1 as firewall can ac

Re: 答复: Openbsd6.1 as firewall can access the internet but the LAN behind it cannot

2017-06-22 Thread Bastien Durel
Le jeudi 22 juin 2017 à 06:21 +, lu jian a écrit : > # The line i put here > pass out on fxp0 inet from 192.168.0.0/24 to any nat-to 10.198.1.150 Your egress interface is pppoe0, not fxp0 in my pf.conf, I have : match out on pppoe0 inet from $lan nat-to (pppoe0:0) -- Bastien

答复: Openbsd6.1 as firewall can access the internet but the LAN behind it cannot

2017-06-22 Thread lu jian
ander Hall 发送时间: 2017年6月21日 19:19 收件人: misc@openbsd.org; Josh Grosse; lu jian 主题: Re: Openbsd6.1 as firewall can access the internet but the LAN behind it cannot On June 21, 2017 6:01:10 PM GMT+02:00, Josh Grosse wrote: >On 2017-06-21 11:36, lu jian wrote: >> Hi >> >

Re: Openbsd6.1 as firewall can access the internet but the LAN behind it cannot

2017-06-22 Thread Stuart Henderson
On 2017-06-21, Josh Grosse wrote: > On 2017-06-21 11:36, lu jian wrote: >> Hi >> >> I have an i386 machine with two network interfaces, one of which >> connect to the uplink ISP via pppoe, the other connects to the WAN >> port of a wireless router to which all LAN machines and cell phones >> conn

Re: Openbsd6.1 as firewall can access the internet but the LAN behind it cannot

2017-06-21 Thread Alexander Hall
On June 21, 2017 6:01:10 PM GMT+02:00, Josh Grosse wrote: >On 2017-06-21 11:36, lu jian wrote: >> Hi >> >> I have an i386 machine with two network interfaces, one of which >> connect to the uplink ISP via pppoe, the other connects to the WAN >> port of a wireless router to which all LAN machine

Re: Openbsd6.1 as firewall can access the internet but the LAN behind it cannot

2017-06-21 Thread Josh Grosse
On 2017-06-21 11:36, lu jian wrote: Hi I have an i386 machine with two network interfaces, one of which connect to the uplink ISP via pppoe, the other connects to the WAN port of a wireless router to which all LAN machines and cell phones connect (via wifi). The problem is that this i386 machin

Openbsd6.1 as firewall can access the internet but the LAN behind it cannot

2017-06-21 Thread lu jian
Hi I have an i386 machine with two network interfaces, one of which connect to the uplink ISP via pppoe, the other connects to the WAN port of a wireless router to which all LAN machines and cell phones connect (via wifi). The problem is that this i386 machine (which I intend as a firewall) ca