View Single Post
  #4   (View Single Post)  
Old 10th March 2011
sws sws is offline
Port Guard
 
Join Date: Mar 2011
Posts: 12
Wink

Yes that's right:
the internal device is subnet 192.168.0.0,
the external device is subnet 192.168.178.0

Here are the complete network interfaces (sorry for the bad format):
# ifconfig -A

Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33200
        priority: 0
        groups: lo
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5

fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:06:29:12:fd:a4
        priority: 0
        groups: egress
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet6 fe80::206:29ff:fe12:fda4%fxp0 prefixlen 64 scopeid 0x1
        inet 192.168.178.21 netmask 0xffffff00 broadcast 192.168.178.255

athn0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        lladdr 74:ea:3a:f3:05:39
        priority: 4
        groups: wlan
        media: IEEE802.11 autoselect mode 11g hostap
        status: active
        ieee80211: nwid FreiKINO chan 11 bssid 74:ea:3a:f3:05:39 wpapsk xxxxxxxx  wpaprotos
        wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
        inet6 fe80::76ea:3aff:fef3:539%athn0 prefixlen 64 scopeid 0x2
        inet 192.168.0.50 netmask 0xffffff00 broadcast 192.168.0.255

ne3: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:20:18:3c:12:55
        priority: 0
        media: Ethernet autoselect (10baseT)
        inet 192.168.0.20 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::220:18ff:fe3c:1255%ne3 prefixlen 64 scopeid 0x3

enc0: flags=0<>
        priority: 0
        groups: enc
        status: active

pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33200
        priority: 0
        groups: pflog

tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        priority: 0
        groups: tun
        status: active
        inet 10.0.xx.xx --> 10.0.xx.xx netmask 0xffffffff
Oh and by the way: nat from wifi interface to external interface is activated in pf also (thanks for your hint in the signature )

Greets,
Sebastian

Last edited by J65nko; 10th March 2011 at 09:20 PM. Reason: Changed from quote to code tags
Reply With Quote