| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
Comments:
<0> How do I open a port ? iptables ? <1> To open a port you must have a service running that uses the port. <2> just open a port on the local box, or to forward somewhere else? <0> I am running an ircd and it does not connect on 6667 .. I want to open that port (remote server) <0> although it takes a higher port <2> then most likely the remote connection has 6660-6669 and 7000 blocked <0> *nod* <0> Now how do I open it .. make them accept connection from those ports <1> Allow it to p*** at the firewall or forward it to the proper server. <0> How do I allow it <0> Iptables -A 6660:6669 ? <2> you are using a shell service? <0> Yes <2> then contact the shell provider. <0> A dedicated server actually <2> oh.
<1> You have to have admin access on the firewall. <0> and no firewall running (tech people say that) <0> I have root access in my server <1> Check to see if you have any iptables rules: iptables -vnL <1> and: iptables -t nat -vnL <2> well if you start a service that has a "listen port" then it just listens on that port on the ip, check to see if its even listening on the ports you ***igned locally then check to see if its avalible remotely, make sure the ircd is running. <0> Ircd is running and accepts a higher port num .. and I see a long list of accept and reject and drop in iptables -vnL <1> Then you have a firewall active. <0> So how do I set it right <0> I can set it remotely I hope ? <1> If you want to disable all the firewall, just issue this command: iptables -P INPUT ACCEPT <2> i need to head to work <0> and what do I use to just add an accept 6660-6669 ports ? <1> After you have set the default policy to accept, then use this command to flush the chains: iptables -t nat -F;iptables -F <1> Now your firewall should be fully open. <0> Ok I just want to add the ircd ports to accept <0> Not disable the firewall completely <1> If you have a service listening on a port (port open) then you should be able to access it. <1> One moment. <0> Ircd listens to it but doesn't accept connections <0> take your time Penguin- <1> iptables -A INPUT -p tcp --dport 6660:6669 -j ACCEPT <1> I think that will open the ports to the local box. <0> Sorry got dc <0> Iptables -A INPUT -p tcp --dport 6660:6669 -j ACCEPT <-- line .. thats it ? <0> One moment .. I will try that <1> If the firewall is on the same box as the ircd that should poke some holes in the firewall and allow access. <0> One moment please <0> Penguin-: I need to flush ip tables after that right ? <1> If you flush it you will erase all rules. <0> That didn't help <1> I'm betting your ircd is not listening on those ports. <0> It works on other ports <1> Like I said... I'm betting your ircd is not listening on those ports. <1> socklist|grep 6669 <0> Say if I use 60003 it works (its running on that now) and other ports defined are 6668 and 6669 <3> What ircd is it? <0> Bahamut <3> Are you sure the ports are set within your ircd.conf? <0> -bash: socklist: command not found <0> Visigoth: yes <1> netstat -anlpt|grep 6669 <4> LostKid: did you even try binding ports to 192.168.1.2 or whatever IP localhost points to, like I told you the other day? <0> Listening /ircd <0> Kabuto: it worked after I used a open port .. conf was fine <0> Now the problem lies in connecting it to 6660-6669 ports <1> LostKid: netstat -anlpt|grep 6669 <0> Penguin-: it's listening .. you want me to paste the output ? <1> only if it is ONE line <0> 2 lines <1> Two okay <0> Tcp 0 0 69.64.37.112:6669 0.0.0.0:* LISTEN 3431/ircd <1> Any more than two and put in pastebin.ca <0> Ohh it was 1 line :) <5> Penguin-: regarding sudo <5> Penguin-: you said "It's so a user can execute a predefined command as another user without knowing that user's p***word." but what we enter is a p***word..so how is that ? <1> You enter YOUR p***word. <1> You don't know any other user's p***word. <1> If sudoers is configured for you to enter a p***word, it is your own p***word you enter. <1> sudoers can be configured to not require any p***word, too. <5> then what is su command
<1> su = sustitute user <1> substitute <1> su <username> = substitute username <5> Penguin-:but here http://www.gratisoft.us/sudo/ it says something different ? im confused ?? <1> That's exactly what that page says. <1> allows a system administrator to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while logging the commands and arguments. <3> Damnit, he left. <3> And I'm sitting here looking over the config. <5> Penguin-: mine is configured to enter a p***word,, and im entering the roots p***word while im not a root <1> That is because your p***word is the same as root's p***word. <1> This is a security vulnerability, as well. <5> that's right.. <1> Of course it's right. <1> Change your root p***word and then try again. <5> Penguin-: ok, so by default the root p***word and the first users pasword will be the same <1> No <5> ok, <1> There is no default p***word nor a default user. <1> If you install ubuntu there is no root p***word at all. <5> but i thnk there is, while installation i was promted to enter the roots p***word.. <1> If you had to enter it, then it's not default, is it? <5> what is the security vulnerbility you said about.. <1> If I figure out your p***word I also know root p***word and can take over your system. <5> aha,, cool, i got it, <1> root p***wd should be even stronger than your own p***word. <5> Penguin-: thank you for the clarification :) <1> No problem. <5> Penguin-: have you tried any aircard on linux before.. <1> Nope, but some people that I know have used them. <5> Penguin-: does it work properly, and which brand is it please, i need to know.. <6> mmmmmm.... <1> It worked properly, but I don't know anything about brand. <5> Penguin-: can you help me with that :) <1> No, sorry. <5> Penguin-: ok thanx :) <7> hey all <8> hi <7> has any 1 experience linux freeze an amd64 3000 type machines b4? <5> Vincent0ne-: playing games.. <7> i dont play games <7> b4 i had my brain tumour removal my seizures stopped me from playing games <7> i was wondering if it is X or new kernel as distros that seemed to done it was unbuntu and family and mepis <5> how muck ram do u have <7> 512 mb <9> < Schwarzenegger> it's not a toomah! <10> can somebody help me.. how will i know if how many processes i can make in my shell? <10> my shell has 5bg or so they say (shellprovider) but how will i know if its really 5bg? <10> anybody? <7> which is good distro for an amd64 where most bugs probley fixed <9> MichaelNikki: ps aux |grep username |wc -l <9> wc -l counts the # of lines <10> thanx <10> wc -l counts the # of lines<-- what do u mean by this? |grep username <-- and also this? <9> ps aux lists all the processes. the output from ps aux is piped | into grep, and then gets searched for 'username'. grep prints all the lines that contain 'username'. that output is piped | into wc (word count). wc counts the number of -l(ines) and then prints the total number of lines. <11> I don't think that's what he asked. I think he has a restricted shell on a box that may have a maximum number of processes. The command ulimit should show what that is. <11> (maximum number of processes per user) <10> yah thats it <10> so i will just type ulimit? <10> it says unlimited <5> ulimit --help <11> ulimit -a # will give all limits on the shell. <7> whats the latest kernel now for linux <11> Vincent0ne-: Go to www.kernel.org and check? <9> whats a linux? <7> mmmm u never heard of linux justphear_cut ? <12> . ? <6> mmmmmm.... <13> excuse me <13> [root@sq mrtg]# /usr/bin/mrtg <13> ----------------------------------------------------------------------- <13> ERROR: Mrtg will most likely not work properly when the environment <13> variable LANG is set to UTF-8. Please run mrtg in an environment <13> where this is not the case. Try the following command to start: <13> env LANG=C /usr/bin/mrtg
Return to
#linux or Go to some related
logs:
#linux 2 baksana #chat-world ubuntu breznev 66 fharenheit #chat-world #chat-world #india #php #kl
|
|