[ILUG] Network Problems

Andrew Court syklops at gmail.com
Wed Nov 25 11:30:51 GMT 2009


He does not get an error when using ftp or ssh as he said he can connect
fine with them.

Gerard,

If you port scan the device from the wan do you see any other ports open
other than 22 and 21.

To me it sounds like a NAT'ing problem.

-A-

On Wed, Nov 25, 2009 at 11:56 AM, Paulo Jacob <paulo.jacob at gmail.com> wrote:

> What error do you get when you try to ssh or ftp?
> Can you ping the machines at all?
>
> P
>
>
> On 11/25/2009 10:51 AM, Brendan Minish wrote:
>
>> What does
>> # ip route show
>>
>> output?
>>
>> is this box is routing or natting? if so
>> # cat /proc/sys/net/ipv4/ip_forward
>> should output 1
>>
>> in centos / RHEL / fedora you set this in
>> /etc/sysctl.conf
>> put an entry in (or modify existing )
>> net.ipv4.ip_forward = 0
>>
>> # sysctl -p will load in the changed setting
>>
>> On Wed, 2009-11-25 at 09:56 +0000, Gerard Hooton wrote:
>>
>>
>>> Hello All,
>>> I have a Debian server with the following problem
>>> I can ssh and ftp to and from machines on the LAN
>>> but I cannot do the same to and from the WAN (out side UCC)
>>> When I do apt-get update it fails to connect
>>>
>>> My iptbles ar as follows:
>>>
>>> Chain INPUT (policy ACCEPT)
>>> target     prot opt source               destination
>>>
>>> Chain FORWARD (policy ACCEPT)
>>> target     prot opt source               destination
>>>
>>> Chain OUTPUT (policy ACCEPT)
>>> target     prot opt source               destination
>>>
>>> I had this type of problem before and I think it was related to iptables
>>> but cannot remember.
>>> Is there something in /proc/sys/net/ipv4/ ???
>>>
>>> My linux is :-
>>> Linux uepc004 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686
>>> GNU/Linux
>>>
>>>
>>>
>>>
>>> --
>>> Gerard Hooton.
>>> Department of Microelectronic Engineering U.C.C.
>>> Butler Building,
>>> Enterprise Centre,
>>> North Mall.
>>> Cork.
>>>
>>> Tel: +353 21 4904576
>>> Fax: +353 21 4904573
>>> http://www.ue.ucc.ie/
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>
> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug
> Who we are : http://www.linux.ie/
> Where we are : http://www.linux.ie/map/
>


More information about the ILUG mailing list