NAT trouble

Bill Moran wmoran at potentialtech.com
Mon Jul 19 05:43:25 PDT 2004


bkhl at elektrubadur.se (Björn Lindström) wrote:
> Bill Moran <wmoran at potentialtech.com> writes:
> 
> >> (Where tun0 is the interface of my ADSL connection.)
> >
> > Is tun0 the real interface?
> 
> No, the actual card is rl0:
> 
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet6 fe80::2e0:4cff:feb0:5d5b%rl0 prefixlen 64 scopeid 0x1 
>         ether 00:e0:4c:b0:5d:5b
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
>         inet 81.228.156.82 --> 81.228.156.1 netmask 0xffffffff 
>         Opened by PID 53
> 
> Is it the actual NIC that should be put in $nat_interface?

No, you should use the tun0 as you have ... I was just checking.  Perhaps
natd isn't starting becuase the tun0 interface does not yet exist when
it tries to start?

> > What happens if you start it manually?
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
?

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


More information about the freebsd-questions mailing list