[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fw: Shorewall with Debian



On Tue, 2008-11-25 at 08:44 +0100, Phillipus Gunawan wrote:
> 
> netstat -atn
> 
> tcp        0      0 0.0.0.0:111             0.0.0.0:*
> LISTEN
> tcp        0      0 0.0.0.0:10000           0.0.0.0:*
> LISTEN
> tcp        0      0 0.0.0.0:113             0.0.0.0:*
> LISTEN
> tcp        0      0 0.0.0.0:53975           0.0.0.0:*
> LISTEN
> tcp        0      0 127.0.0.1:25            0.0.0.0:*
> LISTEN
> tcp        0   1390 10.1.1.4:10000          10.1.1.5:4812
> ESTABLISHED
> tcp
>       0      0 10.1.1.4:10000          10.1.1.5:4811
> ESTABLISHEDThe above result is gathered when I connected via eth1
> But, still not make any sense, why I cant connect to
> https://10.1.1.1:10000 or https://10.1.1.4:10000 if I am using
> connection on eth0 only?

That has to do with which interface is the default gateway.
See 'man route'.

Better setup the interfaces properly, otherwise you will (like now)
wonder why routing is so difficult to follow.

Best,

Rob


Reply to: