Search
 
 

Display results as :
 


Rechercher Advanced Search

Web Applications
install Joomla Wordpress Phpbb Drupal FluxBB PunBB osCommerce simple-machines MYBB moodle vBulletin Dolphin-v.7.1.1 PHPNUKE XOOPS
Services
install BorkNet Services X3 Services Anope Atheme Services Srvx IRC Srervices
IRCD
install Snircd IRCU INSPIRCD UNREAL Nefarious Bircd Bahamut Asuka Charybdis
TCL SCRIPT
TCL SCRIPT FOR EGGDROP Allprotection4.7 Antiproxy
Bots
Bots install FishBot bobot++ Eggdrop janus Omega Security Services Botnix Bopm
Latest topics
» מדריך התקנה מערכת הפעלה FREEBSD
Yesterday at 12:59 am by Chief

» מדריך התקנה conferenceroom-2-1 WINDOWS&& LINUX
Tue Jun 13, 2017 4:02 am by Chief

» Guide install Janus IRC
Sat Dec 03, 2016 3:46 am by Chief

» Guide install Anope in Centos 7
Sat Nov 19, 2016 7:24 am by Chief

» mIRCx IRC Network Config
Tue Oct 18, 2016 10:52 pm by Chief

» מדריך התקנה מירק על ubuntu 14.04
Mon Sep 19, 2016 2:40 am by Chief

» Guide install srvx 1.4.1-rc1  in ubuntu
Fri Aug 26, 2016 5:02 pm by Chief

» Guide install Inspircd
Fri Aug 19, 2016 8:21 am by Chief

» config Inspircd+atheme 7.2.4
Mon Aug 01, 2016 2:21 am by Chief

June 2017
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
2627282930  

Calendar Calendar

Affiliates
free forum

Affiliates
free forum


Guide run IRCD from System Centos

View previous topic View next topic Go down

Guide run IRCD from System Centos

Post  Chief on Fri Aug 09, 2013 3:09 am

Guide run IRCD server on System Centos
ok today i explain how we run ircd server on system Centos..
if you first time used in system Centos and i try run IRCD and you try connect to your Server and you see problem like that

its mean you need select more port for you can connect to your Server..
ok first you inside to your SSH and i explain with picture for you can understand
step1

if you see you write your ip where your Centos run and connect from SSH but before this if you try inside from SSH and if you cant connect and you see Error then you need start this from Terminal
Code:

service sshd start
step2

if you see you need write your login and password after you inside your system you need inside to your root
Code:

su -
after you inside your root you need write this
Code:

nano /etc/sysconfig/iptables
and you see something like this

and you can see you dont have port for IRCD then what you can to do its copy this code and after save
Code:

#ALLOW IRCD
-A INPUT -m state --state NEW -m tcp -p tcp --dport 6667 -j ACCEPT
if you ask when you need put that code then its look like that

after you put its code then save and restart
Code:

service iptables restart
after you can try to connect your Server... you can also look on codes for help
Code:

#IPTABLES CONFIG
*filter

#2.5.7.2.a. Set Default iptables Policy for Incoming Packets
:INPUT DROP [0:0]

#2.5.7.2.b. Set Default iptables Policy for Forwarded Packets
:FORWARD DROP [0:0]


:OUTPUT ACCEPT [0:0]
-A INPUT -i lo -j ACCEPT

#2.5.7.2.3. Restrict ICMP Message Types
-A INPUT -p icmp --icmp-type echo-reply -j ACCEPT
-A INPUT -p icmp --icmp-type destination-unreachable -j ACCEPT
-A INPUT -p icmp --icmp-type time-exceeded -j ACCEPT
-A INPUT -p icmp --icmp-type echo-request -j ACCEPT

# # Accept any established connections
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

#ALLOW SSH
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT

#ALLOW IRCD
-A INPUT -m state --state NEW -m tcp -p tcp --dport 6667 -j ACCEPT

#ALLOW OLD CONFIG Entries
-A INPUT -p udp -m udp --dport 20 -j ACCEPT
-A INPUT -p udp -m udp --dport 21 -j ACCEPT
-A INPUT -p udp -m udp --dport 53 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 20000 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 993 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 143 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 995 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 110 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 20 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 21 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 53 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 587 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 25 -j ACCEPT
#Log and drop everything else
-A INPUT -j LOG
-A INPUT -j DROP
COMMIT
http://apaste.info/yE9P
more information if you need download from website and you try download from command this hg and you see commands its not found then inside to root and write
Code:

su -
yum -y install hg
yum -y install git
then after you can try write command and you see you download
Guide By mIRCx Staff
Credit to Socket- from Channel help Centos about help
Good luck
www.mIRCx.co.il
mIRCx the old Community
avatar
Chief
Admin

מספר הודעות : 192
Join date : 2011-12-09
מיקום : mIRCx IRC Network

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum