Difference between revisions of "Ignacio Valdes Implementation Log/Episode7"

From VistApedia
Jump to: navigation, search
(Log 7 (apparently 6 doesn't exist))
 
(navigation links)
Line 1: Line 1:
==The Intracare Implementation Log [[Intracare Implementation Log|(Back to Log Homepage)]]==
+
==The Intracare Implementation Log [[Episode5|(Back to Episode 5)]] [[Intracare Implementation Log|(Back to Log Homepage)]] [[Episode8|(On to Episode 8)]]==
 
==iptables and other useful port commands==
 
==iptables and other useful port commands==
The Intracare Implementation Log Episode 7: iptables and other useful port commands
 
  
 
Ignacio Valdes Date: Mon, 28 Jul 2008 16:41:48 -0500
 
Ignacio Valdes Date: Mon, 28 Jul 2008 16:41:48 -0500
Line 36: Line 35:
 
4. iptables -F  
 
4. iptables -F  
  
[[Intracare Implementation Log|Back to Log Homepage]]
+
[[Episode5|Episode 5]] [[Intracare Implementation Log|Log Homepage]] [[Episode8|Episode 8]]

Revision as of 20:55, 7 May 2009

The Intracare Implementation Log (Back to Episode 5) (Back to Log Homepage) (On to Episode 8)

iptables and other useful port commands

Ignacio Valdes Date: Mon, 28 Jul 2008 16:41:48 -0500

So we had the server up and running but could only get CPRS running by ssh tunnel at first. We had to open a port on the Linux server as well. Congruency of port numbers for both client and server are necessary. Something like 9330 which should be present in the CPRS P= parameter list and in the xinetd listening port. We used a TCP, not a UDP port so step 2 below is not necessary if you are using TCP only. The following commands taken from this page: http://blog.eukhost.com/webhosting/how-to-open-port-on-server where needed to open our port on the Fedora 9 server so that we could use CPRS from any client without the tunnel:

you can verify the port with

netstat -nap | grep :

1.you can open TCp port with

iptables -A INPUT -p tcp –dport 9330 -j ACCEPT

2. You can open UDP port with

iptables -A INPUT -p udp –sport -j ACCEPT

after that

3. service iptables save

and for flushhing iptables us

4. iptables -F

Episode 5 Log Homepage Episode 8