Re: Can´t access a box remotely

Mauricio Brunstein mbrunstein at gmail.com
Wed Jan 19 13:37:06 PST 2005


Hexren:

Thank you for answer so quickly. I discovered that the problem is that
ppp is using tun1 in place of tun0 and I am usin a dyndns deamon that
is configured to update the ip address of tun0 (this is the interface
that I want to use). Why ppp is using tun0??? I gess that something
could be wrong in rc.conf. If I do and ssh to the ip address of tun1,
I can connect normally.

Here is the output of ifconfig:

server:~ $ ifconfig
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
        inet6 fe80::208:54ff:fe1d:8be5%rl0 prefixlen 64 scopeid 0x1
        ether 00:08:54:1d:8b:e5
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet6 fe80::211:11ff:fe85:efa8%fxp0 prefixlen 64 scopeid 0x2
        ether 00:11:11:85:ef:a8
        media: Ethernet 10baseT/UTP
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        Opened by PID 212
tun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
        inet 200.127.126.73 --> 200.32.0.42 netmask 0xffffffff
        Opened by PID 230
pflog0: flags=0<> mtu 33208

Thank you for all!!!

Mauricio

On Wed, 19 Jan 2005 22:22:33 +0100, Hexren <me at hexren.net> wrote:
> >Hi to all!
> 
> >I can´t access to a box from the internet, using ssh.
> 
> ---------------------------------------------
> 
> Please specify your problem.
> 
> Do you have IP connectivity ? (Do a "ping 216.136.204.117" from the
> machine of which you are showing logs here)
> 
> Do you have DNS (Do a "ping www.freebsd.org" )
> 
> Which error is given out when you try to ssh in from the internet. (try
> ssh -v or ssh -vv)
> 
> Hexren
> 
>


More information about the freebsd-questions mailing list