LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2005, 06:51 AM   #1
bijuhpd
LQ Newbie
 
Registered: Feb 2005
Posts: 28

Rep: Reputation: 15
iptable rule for rmi


hi guys,
i am stuck with a job of implementing rmi.
but iptables rule is playing hard with me.
can you guys suggest me a rule to open connection for am rmi access.

thanks in advance
bijuhpd
 
Old 04-26-2005, 04:15 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Make sure you have port 1099 open. The exact rule depends on your current iptables script. Can you post it (or fragment if it's long)?
 
Old 04-27-2005, 12:42 AM   #3
bijuhpd
LQ Newbie
 
Registered: Feb 2005
Posts: 28

Original Poster
Rep: Reputation: 15
hi guys
thankyou
this is what my iptables ,

Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:5353
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:1099
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:9000
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

what change will help me?
thanks in advance
bijuhpd
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RMI on Linux sumeetmaithil Linux - Software 0 09-20-2005 06:31 AM
complex iptable rule help farhan Linux - Security 2 08-31-2005 09:58 PM
[RMI JOnAS] RMI or IPTABLES Configuration fred2210 Programming 2 04-14-2005 12:24 AM
About Java RMI poeta_boy Programming 4 01-27-2004 02:18 PM
Help me write iptable rule to LOG gpagedar Linux - Security 1 10-01-2003 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration