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 SupyBot PyLink Hopm
Latest topics
» mIRCx IRC Network Config
Sun Dec 10, 2017 2:22 am by Chief

» מדריך התקנה Pylink על unrealircd4 && inspircd
Sat Nov 18, 2017 6:35 am by Chief

» מדריך כיצד משתמשים עם SSH
Sat Nov 11, 2017 7:22 pm by Chief

» מדריך התקנה hybrid open proxy monitor
Thu Oct 12, 2017 1:39 am by Chief

» install Eggdrop in FreeBsd 11
Sun Oct 01, 2017 4:22 am by Chief

» install Nefarious2 && X3 IRC Services in FreeBsd
Sat Sep 23, 2017 8:42 pm by Chief

» מדריך התקנה גירסאות DESKTOP על FREEBSD11
Sat Sep 09, 2017 1:47 pm by Chief

» working with ubuntu 14.04 and fix a problem
Wed Aug 23, 2017 1:26 am by Chief

» מדריך התקנה WORDPRESS על FREEBSD11
Mon Jul 17, 2017 2:50 am by Chief

December 2017
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
25262728293031

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

מספר הודעות : 215
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