Hi I have openbsd 4.4 and I am trying to set it up as a gateway firewall using pppoe.
I have two nics rl0 internal and fxp0 external and plugged into the router which is a Netgear DG632 set as a modem which from what I read is the required setting.
To get things going I followed this guide here
http://www.openbsd-wiki.org/index.ph...r_and_Firewall
My ifconfig gives me
Code:
# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33204
groups: lo
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:90:27:bf:c4:5f
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::290:27ff:febf:c45f%fxp0 prefixlen 64 scopeid 0x1
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:01:29:09:1c:dd
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.2.3 netmask 0xffffff00 broadcast 192.168.2.255
inet6 fe80::201:29ff:fe09:1cdd%rl0 prefixlen 64 scopeid 0x2
enc0: flags=0<> mtu 1536
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
dev: fxp0 state: PADI sent
sid: 0x0 PADI retries: 5 PADR retries: 0
sppp: phase establish authproto chap authname "user@plusdsl.net"
groups: pppoe egress
inet6 fe80::290:27ff:febf:c45f%pppoe0 -> prefixlen 64 scopeid 0x5
inet 0.0.0.0 --> 0.0.0.1 netmask 0xffffffff
I am not too sure where to go next.
Code:
# more /etc/hostname.pppoe0
inet 0.0.0.0 255.255.255.255 NONE pppoedev fxp0 \
authproto chap authname user@plusdsl.net authkey passwd up
dest 0.0.0.1
!/sbin/route add default 0.0.0.1
at this point pf is disabled
Any info welcome
The modem seems to have died so its not an issue at the moment