please help........opening ports - thehappyappy - 2008-04-29
Please can somebody help me. I'm trying to open ports 999, 1982 and 1983 but am not having much luck. I followed the post how to open ports and haven't been successful. I was told to make sure that your server TCP ports: 999, 1982, 1983 are fully open inbound and outbound and that destination IP address for those ports is 72.232.181.106.
I've been trying for ages to get these ports open, but haven't had any luck.
please help........opening ports - thehappyappy - 2008-04-29
I don't know if it helps, but this is what I've done:
Quote:[root@localhost ~]# iptables -A INPUT -i eth0 -p tcp --sport 999 -m state --state NEW,ESTABLISHED -j ACCEPT[root@localhost ~]# iptables -A INPUT -i eth0 -p tcp --sport 1982 -m state --state NEW,ESTABLISHED -j ACCEPT
[root@localhost ~]# iptables -A INPUT -i eth0 -p tcp --sport 1983 -m state --state NEW,ESTABLISHED -j ACCEPT
[root@localhost ~]# netstat -nap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2258/portmap
tcp 0 0 0.0.0.0:5555 0.0.0.0:* LISTEN 2669/httpd-matrixsa
tcp 0 0 213.171.206.28:53 0.0.0.0:* LISTEN 2232/named
tcp 0 0 213.171.205.106:53 0.0.0.0:* LISTEN 2232/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 2232/named
tcp 0 0 127.0.0.1:8087 0.0.0.0:* LISTEN 2561/python
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2534/cupsd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 2624/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 2232/named
tcp 0 0 0.0.0.0:767 0.0.0.0:* LISTEN 2281/rpc.statd
tcp 0 0 :::993 :::* LISTEN 8376/couriertcpd
tcp 0 0 :::995 :::* LISTEN 8364/couriertcpd
tcp 0 0 :::110 :::* LISTEN 8359/couriertcpd
tcp 0 0 :::143 :::* LISTEN 8370/couriertcpd
tcp 0 0 :::80 :::* LISTEN 8065/httpd
tcp 0 0 :::21 :::* LISTEN 2687/pure-ftpd (SER
tcp 0 0 :::22 :::* LISTEN 2521/sshd
tcp 0 0 ::1:953 :::* LISTEN 2232/named
tcp 0 0 :::443 :::* LISTEN 8065/httpd
tcp 0 1696 ::ffff:213.171.206.28:22 ::ffff:78.146.65.6:54584 ESTABLISHED 8701/0
tcp 0 0 ::ffff:213.171.205.106:21 ::ffff:78.146.65.6:49679 ESTABLISHED 8131/pure-ftpd (IDL
udp 0 0 0.0.0.0:32768 0.0.0.0:* 2232/named
udp 0 0 0.0.0.0:32770 0.0.0.0:* 2770/avahi-daemon:
udp 0 0 213.171.206.28:53 0.0.0.0:* 2232/named
udp 0 0 213.171.205.106:53 0.0.0.0:* 2232/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 2232/named
udp 0 0 0.0.0.0:5353 0.0.0.0:* 2770/avahi-daemon:
udp 0 0 0.0.0.0:111 0.0.0.0:* 2258/portmap
udp 0 0 0.0.0.0:631 0.0.0.0:* 2534/cupsd
udp 0 0 0.0.0.0:761 0.0.0.0:* 2281/rpc.statd
udp 0 0 213.171.206.28:123 0.0.0.0:* 2860/ntpd
udp 0 0 213.171.205.106:123 0.0.0.0:* 2860/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 2860/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 2860/ntpd
udp 0 0 0.0.0.0:764 0.0.0.0:* 2281/rpc.statd
udp 0 0 :::32769 :::* 2232/named
udp 0 0 :::32771 :::* 2770/avahi-daemon:
udp 0 0 :::5353 :::* 2770/avahi-daemon:
udp 0 0 fe80::230:5ff:feee:fdc9:123 :::* 2860/ntpd
udp 0 0 ::1:123 :::* 2860/ntpd
udp 0 0 :::123 :::* 2860/ntpd
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 7245 2731/xfs /tmp/.font-unix/fs7100
unix 2 [ ACC ] STREAM LISTENING 5788 2154/python /var/run/audit_events
unix 2 [ ACC ] STREAM LISTENING 6212 2357/dbus-daemon /var/run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 6277 2376/sdpd /var/run/sdp
unix 2 [ ACC ] STREAM LISTENING 6366 2444/pcscd /var/run/pcscd.comm
unix 2 [ ACC ] STREAM LISTENING 6507 2505/acpid /var/run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 6595 2534/cupsd /var/run/cups/cups.sock
unix 2 [ ACC ] STREAM LISTENING 7369 2784/hald @/var/run/hald/dbus-s6dOZmoPTT
unix 2 [ ACC ] STREAM LISTENING 7333 2770/avahi-daemon: /var/run/avahi-daemon/socket
unix 2 [ ACC ] STREAM LISTENING 6893 2624/master public/cleanup
unix 2 [ ACC ] STREAM LISTENING 6900 2624/master private/rewrite
unix 2 [ ACC ] STREAM LISTENING 6908 2624/master private/bounce
unix 2 [ ACC ] STREAM LISTENING 6912 2624/master private/defer
unix 2 [ ACC ] STREAM LISTENING 6916 2624/master private/trace
unix 2 [ ACC ] STREAM LISTENING 6920 2624/master private/verify
unix 2 [ ACC ] STREAM LISTENING 6924 2624/master public/flush
unix 2 [ ACC ] STREAM LISTENING 6928 2624/master private/proxymap
unix 2 [ ACC ] STREAM LISTENING 6932 2624/master private/smtp
unix 2 [ ACC ] STREAM LISTENING 6936 2624/master private/relay
unix 2 [ ACC ] STREAM LISTENING 6940 2624/master public/showq
unix 2 [ ACC ] STREAM LISTENING 6945 2624/master private/error
unix 2 [ ACC ] STREAM LISTENING 6949 2624/master private/local
unix 2 [ ACC ] STREAM LISTENING 6953 2624/master private/virtual
unix 2 [ ACC ] STREAM LISTENING 6957 2624/master private/lmtp
unix 2 [ ACC ] STREAM LISTENING 6961 2624/master private/anvil
unix 2 [ ACC ] STREAM LISTENING 6965 2624/master private/maildrop
unix 2 [ ACC ] STREAM LISTENING 6969 2624/master private/old-cyrus
unix 2 [ ACC ] STREAM LISTENING 6973 2624/master private/cyrus
unix 2 [ ACC ] STREAM LISTENING 6977 2624/master private/uucp
unix 2 [ ACC ] STREAM LISTENING 6981 2624/master private/ifmail
unix 2 [ ACC ] STREAM LISTENING 6985 2624/master private/bsmtp
unix 2 [ ACC ] STREAM LISTENING 7006 2637/gpm /dev/gpmctl
unix 2 [ ACC ] STREAM LISTENING 7368 2784/hald @/var/run/hald/dbus-yXxgGnrGFB
unix 2 [ ] DGRAM 1293 453/udevd @/org/kernel/udev/udevd
unix 2 [ ACC ] STREAM LISTENING 6133 2289/authdaemond /var/spool/authdaemon/socket.tmp
unix 2 [ ] DGRAM 7377 2784/hald @/org/freedesktop/hal/udev_event
unix 33 [ ] DGRAM 5796 2180/syslogd /dev/log
unix 2 [ ] DGRAM 521904 8701/0
unix 2 [ ] DGRAM 516413 8449/pickup
unix 2 [ ] DGRAM 515966 8375/courierlogger
unix 2 [ ] DGRAM 515956 8369/courierlogger
unix 2 [ ] DGRAM 515946 8363/courierlogger
unix 2 [ ] DGRAM 515938 8358/courierlogger
unix 2 [ ] DGRAM 515930 8353/courierdsn
unix 2 [ ] DGRAM 515928 8352/courieresmtp
unix 2 [ ] DGRAM 515927 8351/courierfax
unix 2 [ ] DGRAM 515926 8350/courierlocal
unix 2 [ ] DGRAM 515923 8349/courieruucp
unix 2 [ ] DGRAM 515910 8348/courierd
unix 2 [ ] DGRAM 515902 8341/courierlogger
unix 2 [ ] DGRAM 514215 8131/pure-ftpd (IDL
unix 2 [ ] DGRAM 127893 2152/auditd
unix 2 [ ] DGRAM 8661 2860/ntpd
unix 3 [ ] STREAM CONNECTED 8598 2357/dbus-daemon /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 8597 2784/hald
unix 3 [ ] STREAM CONNECTED 8419 2784/hald @/var/run/hald/dbus-yXxgGnrGFB
unix 3 [ ] STREAM CONNECTED 8418 2804/event0
unix 3 [ ] STREAM CONNECTED 8387 2784/hald @/var/run/hald/dbus-yXxgGnrGFB
unix 3 [ ] STREAM CONNECTED 8385 2798/event2
unix 3 [ ] STREAM CONNECTED 8366 2505/acpid /var/run/acpid.socket
unix 3 [ ] STREAM CONNECTED 8365 2792/acpid.socket
unix 3 [ ] STREAM CONNECTED 8358 2784/hald @/var/run/hald/dbus-yXxgGnrGFB
unix 3 [ ] STREAM CONNECTED 8336 2793/hald-addon-cpu
unix 3 [ ] STREAM CONNECTED 8335 2784/hald @/var/run/hald/dbus-yXxgGnrGFB
unix 3 [ ] STREAM CONNECTED 8333 2792/acpid.socket
unix 3 [ ] STREAM CONNECTED 7372 2784/hald @/var/run/hald/dbus-s6dOZmoPTT
unix 3 [ ] STREAM CONNECTED 7371 2785/hald-runner
unix 3 [ ] STREAM CONNECTED 7336 2357/dbus-daemon /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 7335 2770/avahi-daemon:
unix 3 [ ] STREAM CONNECTED 7330 2771/avahi-daemon:
unix 3 [ ] STREAM CONNECTED 7329 2770/avahi-daemon:
unix 2 [ ] DGRAM 7327 2770/avahi-daemon:
unix 2 [ ] DGRAM 7189 2700/crond
unix 2 [ ] DGRAM 7155 2687/pure-ftpd (SER
unix 2 [ ] DGRAM 7016 2641/qmgr
unix 3 [ ] STREAM CONNECTED 6988 2624/master
unix 3 [ ] STREAM CONNECTED 6987 2624/master
unix 3 [ ] STREAM CONNECTED 6984 2624/master
unix 3 [ ] STREAM CONNECTED 6983 2624/master
unix 3 [ ] STREAM CONNECTED 6980 2624/master
unix 3 [ ] STREAM CONNECTED 6979 2624/master
unix 3 [ ] STREAM CONNECTED 6976 2624/master
unix 3 [ ] STREAM CONNECTED 6975 2624/master
unix 3 [ ] STREAM CONNECTED 6972 2624/master
unix 3 [ ] STREAM CONNECTED 6971 2624/master
unix 3 [ ] STREAM CONNECTED 6968 2624/master
unix 3 [ ] STREAM CONNECTED 6967 2624/master
unix 3 [ ] STREAM CONNECTED 6964 2624/master
unix 3 [ ] STREAM CONNECTED 6963 2624/master
unix 3 [ ] STREAM CONNECTED 6960 2624/master
unix 3 [ ] STREAM CONNECTED 6959 2624/master
unix 3 [ ] STREAM CONNECTED 6956 2624/master
unix 3 [ ] STREAM CONNECTED 6955 2624/master
unix 3 [ ] STREAM CONNECTED 6952 2624/master
unix 3 [ ] STREAM CONNECTED 6951 2624/master
unix 3 [ ] STREAM CONNECTED 6948 2624/master
unix 3 [ ] STREAM CONNECTED 6947 2624/master
unix 3 [ ] STREAM CONNECTED 6944 2624/master
unix 3 [ ] STREAM CONNECTED 6943 2624/master
unix 3 [ ] STREAM CONNECTED 6939 2624/master
unix 3 [ ] STREAM CONNECTED 6938 2624/master
unix 3 [ ] STREAM CONNECTED 6935 2624/master
unix 3 [ ] STREAM CONNECTED 6934 2624/master
unix 3 [ ] STREAM CONNECTED 6931 2624/master
unix 3 [ ] STREAM CONNECTED 6930 2624/master
unix 3 [ ] STREAM CONNECTED 6927 2624/master
unix 3 [ ] STREAM CONNECTED 6926 2624/master
unix 3 [ ] STREAM CONNECTED 6923 2624/master
unix 3 [ ] STREAM CONNECTED 6922 2624/master
unix 3 [ ] STREAM CONNECTED 6919 2624/master
unix 3 [ ] STREAM CONNECTED 6918 2624/master
unix 3 [ ] STREAM CONNECTED 6915 2624/master
unix 3 [ ] STREAM CONNECTED 6914 2624/master
unix 3 [ ] STREAM CONNECTED 6911 2624/master
unix 3 [ ] STREAM CONNECTED 6910 2624/master
unix 3 [ ] STREAM CONNECTED 6907 2624/master
unix 3 [ ] STREAM CONNECTED 6906 2624/master
unix 3 [ ] STREAM CONNECTED 6899 2624/master
unix 3 [ ] STREAM CONNECTED 6898 2624/master
unix 3 [ ] STREAM CONNECTED 6896 2624/master
unix 3 [ ] STREAM CONNECTED 6895 2624/master
unix 3 [ ] STREAM CONNECTED 6892 2624/master
unix 3 [ ] STREAM CONNECTED 6891 2624/master
unix 3 [ ] STREAM CONNECTED 6889 2624/master
unix 3 [ ] STREAM CONNECTED 6888 2624/master
unix 2 [ ] DGRAM 6885 2637/gpm
unix 2 [ ] DGRAM 6861 2624/master
unix 2 [ ] DGRAM 6466 2484/automount
unix 2 [ ] DGRAM 6406 2466/hidd
unix 2 [ ] DGRAM 6365 2444/pcscd
unix 3 [ ] STREAM CONNECTED 6272 2357/dbus-daemon /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 6271 2370/hcid
unix 2 [ ] DGRAM 6250 2376/sdpd
unix 2 [ ] DGRAM 6240 2370/hcid
unix 3 [ ] STREAM CONNECTED 6215 2357/dbus-daemon
unix 3 [ ] STREAM CONNECTED 6214 2357/dbus-daemon
unix 3 [ ] STREAM CONNECTED 6168 2334/rpc.idmapd
unix 3 [ ] STREAM CONNECTED 6167 2334/rpc.idmapd
unix 2 [ ] DGRAM 6060 2288/courierlogger
unix 2 [ ] DGRAM 6021 2281/rpc.statd
unix 2 [ ] DGRAM 5920 2232/named
unix 2 [ ] DGRAM 5806 2184/klogd
unix 3 [ ] STREAM CONNECTED 5743 2152/auditd
unix 3 [ ] STREAM CONNECTED 5742 2154/python
[root@localhost ~]#
|