Re: Openbsd Routing/NAT Internet Issues

2014-03-26 Thread Christophe
Hi, Le 26/03/2014 12:13, Cristiano Deana a écrit : > On Wed, Mar 26, 2014 at 4:28 AM, Wong Peter wrote: > > Hi > >> *Routing Table* (route show | more) >> Destination Gateway Flags Interface >> default 175.13.8.127.254 UGS tun0 >> 175.130.127.254 175.135.116.213 (PPPOE IP address) UH tun0 > >

Re: Openbsd Routing/NAT Internet Issues

2014-03-26 Thread Zé Loff
On 26-03-2014 11:13, Cristiano Deana wrote: On Wed, Mar 26, 2014 at 4:28 AM, Wong Peter wrote: Hi *Routing Table* (route show | more) Destination Gateway Flags Interface default 175.13.8.127.254 UGS tun0 175.130.127.254 175.135.116.213 (PPPOE IP address) UH tun0 should'n be your default gate

Re: Openbsd Routing/NAT Internet Issues

2014-03-26 Thread Cristiano Deana
On Wed, Mar 26, 2014 at 12:10 PM, Zé Loff wrote: > Are you forwarding packets between interfaces? > $ sysctl net.inet.ip.forwarding modem is responding (to internal LAN, I suppose), so it must enabled, -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/

Re: Openbsd Routing/NAT Internet Issues

2014-03-26 Thread Cristiano Deana
On Wed, Mar 26, 2014 at 4:28 AM, Wong Peter wrote: Hi > *Routing Table* (route show | more) > Destination Gateway Flags Interface > default 175.13.8.127.254 UGS tun0 > 175.130.127.254 175.135.116.213 (PPPOE IP address) UH tun0 should'n be your default gateway your external modem, 192.168.1.254?

Re: Openbsd Routing/NAT Internet Issues

2014-03-26 Thread Zé Loff
On 26-03-2014 03:28, Wong Peter wrote: Problem: I can ping Google DNS(8.8.8.8) from openbsd machine. or browsing internet. I cannot ping Google DNS(8.8.8.8) from LAN PC. I can ping my external modem(192.168.1.254) which return echo reply. I have no idea why ping the modem does reply but ping ext

Re: Openbsd Routing/NAT Internet Issues

2014-03-26 Thread Andy
Hi, Can see you are allowing packets 'out' of your internal interfaces, but what about packets getting into your internal interfaces? pass quick on ath0/rl0 keep state Also, if you have a private IP address on your modem (it will be doing NAT), and you are trying to NAT on your OpenBSD box,