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,

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

Re: Openbsd Routing/NAT Internet Issues

2014-03-26 Thread Cristiano Deana
On Wed, Mar 26, 2014 at 4:28 AM, Wong Peter peterap...@gmail.com 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

Re: Openbsd Routing/NAT Internet Issues

2014-03-26 Thread Cristiano Deana
On Wed, Mar 26, 2014 at 12:10 PM, Zé Loff zel...@zeloff.org 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 Zé Loff
On 26-03-2014 11:13, Cristiano Deana wrote: On Wed, Mar 26, 2014 at 4:28 AM, Wong Peter peterap...@gmail.com 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

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 peterap...@gmail.com 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

Openbsd Routing/NAT Internet Issues

2014-03-25 Thread Wong Peter
Hello to all, I had try to set up openbsd as home router but eventually it fail to function properly. External Interface (vr0) 192.168.1.2 255.255.255.0 none Internal Interface (rl0) 172.16.10.1 255.255.255.0 none Wireless Interface (ath0) 192.168.5.1 255.255.255.0 none External interface