| |
| |
| |
|
Comments:
<0> anyone here want to help me understand chillispot a little more than I currently do? <1> RE <2> RE <3> hey guys im new to iptables and i need some help <3> i use the following rules to forward a port to my machine
<3> the router is a slackware 10.2 running the default kernel <4> rufiusblack - uname -a for kernal <3> yeah its a 2.4.31 i believe <3> hold <3> yup 2.4.31 <3> $IPT -t nat -A PREROUTING -p udp -d $EXT_IP --dport 16104 -j DNAT --to-destination 192.168.1.4:16104 <3> $IPT -A FORWARD -p udp -d 192.168.1.4 --dport 16104 -j ACCEPT <3> $IPT -t nat -A POSTROUTING -p udp -s 192.168.1.4 --sport 16104 -j SNAT --to-source $EXT_IP:16104 <3> this is what i do forward port 16104 to my machine <3> i just wanted to know if i was doing it right <5> iptables -I OUTPUT -p tcp --dport 25 -d smtp.bredband.net -j ACCEPT <5> would that work? <5> I have iptables -A OUTPUT -p tcp --dport 25 -j DROP <5> but want to allow for only one smtp-host <6> there is command which tests the open ports on a specified IP. which is it? <7> remotely or locally ?? <7> :) <6> remotely <7> netcat / nmap <7> :p <7> well, nmap for exemple <7> s/exemple/example/ <6> ok :) <6> there are tones of optios <6> i would like to test which ports are open on a specified ip
<6> what do I have to type <6> ciel[busy]: please <7> ui <7> I'm reading <7> By default, it tests a port range <7> a wide port range <7> but you can do : <7> -p <port ranges>: Only scan specified ports Ex: -p22; -p1-65535; -p U:53,111,137,T:21-25,80,139,8080 <6> -p is ok <7> you can use -p. <6> but which is the optio for the ip <6> i can't find the option for the ip <7> there's is no flag <7> SYNOPSIS nmap [Scan Type...] [Options] {target specification} <6> got it <6> :) <6> thank you! <7> it's okay <8> istvank: ideally you want to read the man page, for a quick scan, as root, do: nmap -A -p1-65535 sitehere.com <6> Strykar: what is the -A for? <8> istvank: man nmap <6> :) <6> No manual entry for nmap <6> :) <6> -A: Enables OS detection and Version detection <6> what is that good for? <9> for attempting to detect what os the target system is running based on its tcp fingerprint (how it responds to certain types of requests) and what ports it has open <9> wow i am responding to a post from over an hour ago how useless :)
Return to
#iptables or Go to some related
logs:
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' prefifx #perl 3dcc for ubuntu ubuntu VLC VCD playing package #ubuntu evolution to outlook You do not have enough permissions to read recursive directory loop bad
#linux
|
|