[Techtalk] IP tables
Wolf Rising
wolfrising at gmail.com
Wed Oct 29 04:12:12 UTC 2008
Hi,
There were no errors received when restarting the service.
Running nmap -sV localhost returns:
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 4.3 (protocol 2.0)
25/tcp open smtp Postfix smtpd
111/tcp open rpc
631/tcp open ipp CUPS 1.2
705/tcp open rpc
2049/tcp open rpc
3306/tcp open mysql MySQL 5.0.45
4000/tcp open rpc
4002/tcp open rpc
attempting to connect via telnet returns:
telnet localhost 5286
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
It seems while the entry is in iptables, the port is not recognized as being
open.
I have not tried running traceroute.
Thanks!
On Tue, Oct 28, 2008 at 11:48 PM, Meryll Larkin <alwanza at oz.net> wrote:
> Hi Wolf Rising,
>
> What error do you get when you restart the service? Or when your remote
> hosts try to connect?
> What does the line show when you do a
> service iptables status ?
>
> It looks to me like that line might be a good one if your remote hosts are
> numbered 146.186.121.0/27 and they are trying to connect to your localhost
> on port 5286.
>
> Have you used netstat to determine if whatever service you want them to
> connect to port 5286 with is in fact running on port 5286?
>
> Is there any chance there is an isp between you and 146.186.121.0/27 that
> blocks port 5286? Have you run traceroute?
>
> Meryll
>
>
> -----Original Message-----
> From: techtalk-bounces at linuxchix.org [mailto:
> techtalk-bounces at linuxchix.org]
> On Behalf Of Wolf Rising
> Sent: Tuesday, October 28, 2008 9:03 AM
> To: techtalk at linuxchix.org
> Subject: [Techtalk] IP tables
>
> How would I go about adding an entry to iptables that would allow
> connections via port 5286?
>
> I tried -A RH-Firewall-1-INPUT -p tcp -s 146.186.121.0/27 --dport 5286 -j
> ACCEPT
>
> but that doesn't seem to be working.
>
> Thanks :-)
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/techtalk
>
>
More information about the Techtalk
mailing list