Re: OpenBSD as DSL Router using hostname.pppoe0?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vadim Zhukov
Date: Tuesday, June 3, 2008 - 4:05 am

29 December 2007 c. 05:48:55 sebastian.rother@jpberlin.de wrote:

Same problem, easy solution:

My hostname.pppoe0:

inet 0.0.0.0 255.255.255.255 NONE pppoedev rl0 authproto chap authname
'MYLOGIN' authkey 'MYPASS' up
dest 0.0.0.1
!/sbin/route delete default
!/sbin/route add default 0.0.0.1
<<<

Snip from pf.conf:
inet_if="pppoe0"
ext_if="rl0"
scrub in on pppoe0 max-mss 1400 fragment reassemble
scrub out on pppoe0 max-mss 1400 no-df random-id fragment reassemble
nat on $inet_if from !($inet_if) -> ($inet_if:0)
pass in on $inet_if proto tcp to ($inet_if) port ssh
<<<

Details are well laid in man pages, I didn't need anything except them.

BTW: I use DynDNS (noip is in ports) for remote administration, so this
setup (with open SSH port) works OK even with dynamic IPs.

--
  Best wishes,
    Vadim Zhukov
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
OpenBSD as DSL Router using hostname.pppoe0?, sebastian.rother, (Fri Dec 28, 6:35 pm)
Re: OpenBSD as DSL Router using hostname.pppoe0?, Vijay Sankar, (Fri Dec 28, 7:10 pm)
Re: OpenBSD as DSL Router using hostname.pppoe0?, sebastian.rother, (Fri Dec 28, 7:48 pm)
Re: OpenBSD as DSL Router using hostname.pppoe0?, NetOne - Doichin Dokov, (Fri Dec 28, 7:59 pm)
Re: OpenBSD as DSL Router using hostname.pppoe0?, Vadim Zhukov, (Tue Jun 3, 4:05 am)