Current time: 04-20-2024, 06:18 AM Hello There, Guest! (LoginRegister)


Post Reply 
iptables -more ports
Author Message
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #1
iptables -more ports
how to open more ports?
06-23-2009 08:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: iptables -more ports
What do you exatly mean ?
ispCP only add´s IPTABLE-Entry´s to log the traffic.
Blocked is here nothing.

Greez BeNe
06-23-2009 08:39 PM
Visit this user's website Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #3
RE: iptables -more ports
I have a server for 2 computers per server
(This post was last modified: 06-23-2009 08:49 PM by server801.)
06-23-2009 08:47 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: iptables -more ports
Fine and now ?
Can you please build complete sentences and describe what you exactly want ?

Thanks & Greez
BeNe
06-23-2009 08:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #5
RE: iptables -more ports
there is a server, it gives a network of 2 machines, you need to open ports in firewall
(This post was last modified: 06-23-2009 08:53 PM by server801.)
06-23-2009 08:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: iptables -more ports
You need to open Ports for what ? What do you want to do ?
Are there some Ports closed ?

Greez BeNe
06-23-2009 08:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #7
RE: iptables -more ports
yes!
to ensure that the software would work on them .. so I have 2 ports open to any
06-23-2009 08:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #8
RE: iptables -more ports
-> MOVED to Generell discussion

But this is nothing ispCP related or ?
You can check your iptables for the current active rules:
Code:
iptables -nvL
about a "blocked" Port. If needed there is a changed need check the Iptables manuels.

Greez BeNe
06-23-2009 09:02 PM
Visit this user's website Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #9
RE: iptables -more ports
Code:
iptables -nvL
Chain INPUT (policy ACCEPT 278K packets, 53M bytes)
pkts bytes target     prot opt in     out     source               destination
278K   53M ISPCP_INPUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain FORWARD (policy ACCEPT 24712 packets, 11M bytes)
pkts bytes target     prot opt in     out     source               destination

Chain OUTPUT (policy ACCEPT 405K packets, 372M bytes)
pkts bytes target     prot opt in     out     source               destination
405K  372M ISPCP_OUTPUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain ISPCP_INPUT (1 references)
pkts bytes target     prot opt in     out     source               destination
    0     0            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:993
    1    60            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:995
    0     0            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:587
    4   204            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:25
   26  1892            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:143
    4   204            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:110
  291 88604            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:443
14215 1493K            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:80
18330 2525K RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain ISPCP_OUTPUT (1 references)
pkts bytes target     prot opt in     out     source               destination
    0     0            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:993
    1    40            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:995
    0     0            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:587
    3   218            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:25
   21  2305            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:143
    3   182            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:110
  265  234K            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:443
16312   21M            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:80
20639   22M RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0

need to add another 5223 port
(This post was last modified: 06-23-2009 09:11 PM by server801.)
06-23-2009 09:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #10
RE: iptables -more ports
There are NO PORTS BLOCKED!
So there is nothing to OPEN. These are all the ispCP default log-rules.
Means - if you Application on Port 5523 doesn´t work, it is no IPTABLES problem and how ever no ispCP Problem!

Greez BeNe
06-23-2009 09:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)