Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2008 14:00:33 -0600
From:      perlcat <perlcat@alltel.net>
To:        freebsd-questions@freebsd.org
Subject:   bind: Can't assign requested address using ssh (or anything else)
Message-ID:  <200801211400.33730.perlcat@alltel.net>

next in thread | raw e-mail | index | archive | help
Trying to access a vpn using ssh on 6.2 - STABLE. Haven't found an answer 
anywhere, and so I must be totally missing the right questions to ask or 
configurations to look at.

This problem is consistent regardless of port chosen or access method. I can 
duplicate at will with ssh. Here's the command that fails:

$ ssh -X -N -L 127.0.0.3:13390:192.168.1.44:3390 tyson@xx.xx.xx.xx
tyson@xx.xx.xx.xx's password:
bind: Can't assign requested address
channel_setup_fwd_listener: cannot listen to port: 13390
Could not request local forwarding.

I know that it can be done -- the guy next to me is working using Linux, but 
his answer to this issue was to edit the /etc/network/interfaces file. He 
figures that I didn't  have one or don't have the loopback started.
(his interfaces file):
~$ more /etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0


Here's my config info:
======================================
ifconfig output:
smedley# ifconfig
fwe0: flags=108802<BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
        options=8<VLAN_MTU>
        ether 02:e0:b8:02:9c:8e
        ch 1 dma -1
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 72.37.126.77 netmask 0xffffff00 broadcast 72.37.126.255
        ether 00:13:f7:35:39:5e
        media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/18Mbps)
        status: associated
        ssid UPRR_X channel 8 bssid 00:0f:90:7b:60:00
        authmode OPEN privacy OFF txpowmax 36 bmiss 7 protmode CTS burst
        bintval 100
======================================
rc.conf:
hostname="smedley.alltel.net"
ifconfig_ath0="DHCP"
inetd_enable="YES"
keymap="us.iso"
moused_enable="YES"
linux_enable="YES"
sshd_enable="YES"
tcp_extensions="YES"
usbd_enable="YES"
nfs_client_enable="YES"
cupsd_enable="YES"
smartd_enable="YES"
======================================

Maybe I need to get rid if the inet6 for the loopback?

Thanks!

Tyson
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

-------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801211400.33730.perlcat>