@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> i have an ftp server running somewhere. i'm behind the router. How can I scp from outside on it?
<1> tunneling you ssh port to a box outside your firewall
<0> watson: ftp server on my machine
<1> then tunnel port 21 to a box outside
<0> watson: why outside?
<0> watson: I can ssh on boxes outside
<1> cause you want to scp from outside to inside
<1> is it your router?
<0> watson: yes
<1> ah ;)
<0> watson: :)
<1> then you need to forward the needed ports to that machine ;)
<1> ftp: 20, 21 and ssh: 22
<0> how does the router know to direct the packages from outside to my box?
<2> and, since a while, RDP is also possible :)
<0> ah



<0> router will forward to port 21? And I open port 21 ?
<2> eurhm scp doesn't use your ftp daemon
<1> you need to comfig port forwarding of port 21, 20 and 22 to your ftp box
<1> opening ports in firewall isn't enough
<1> the router must know that all the request on that ports need to forward to the specified machine
<3> scp only uses ssh, so 22 is enough for scp.. ***uming you run your sshd on port 22
<1> yeah i know
<1> but i'm not sure if he would use scp only
<1> ;)
<1> cause i said something about an ftp server
<0> i have to run an sshd?
<3> For scp, yes
<2> it's like, scp, secure copy. so it'll work on ssh
<2> and in order to use xrdp, i need vnc with the 'server' use flag
<2> but then, ofcourse, with that flag set, vnc breaks
<0> i don't get it
<0> i will google port forwarding then
<2> scp is like Ssh (secure) copy
<0> a yes
<2> port forwarding is simple, use iptables
<2> listen
<0> install iptables on my box?
<2> i use vnc on my linux box behind my router
<2> this is what i do
<2> iptables -t nat -A PREROUTING -p tcp --dport 5900 -j DNAT --to 192.168.100.4:5900
<3> If your box is behind a router, you need to set the forwarding on the router, not on your box
<2> my machine has ip 192.168.100.4, and vnc runs on port 5900
<3> ..unless your router is a linux box, then of course iptables is the way to go :)
<2> oops
<2> i just asumed you have a linux router =)
<2> lol
<2> why would you use something else :)
<3> heh
<3> Indeed
<0> lol
<2> in fact, some crappy 'hardware' routers use linux also!!!!!
<3> Yes they do
<0> my router is just a small modem
<2> like 'Sweex'
<0> hrm...so
<3> I bought an old P4 box for 120 to do my routings... Not bad price for a router than can also run a lot of stuff on the background :)
<0> dvision: you run vnc on your box, behind the router?
<2> in the other case you'll probably be able to use some webinterface to your rrouter
<2> lnxnt, yes. i'm busy putting xrdp on it
<2> because on my work all populair websites are blocked, but i can remote connect =)
<0> dvision: webinterface is correct. But there is not much to do ;)
<0> dvision: what about the ftp server
<2> not needed, you dont need a ftp server for scp
<0> how can anyone upload to my box? My ftp server is up and runni ng
<2> then you need to port forward port 21
<2> read the manual of your router
<2> port forwarding must be an option
<2> somehow
<0> dvision: then port forwarding is done by the router
<2> correct
<0> ah ok
<2> did you get a lot of water in germany
<0> dvision: lol
<2> for the first time i get to know how it is to be a fish
<0> dvision: where are you?
<2> holland, amsterdam



<0> dvision: our summer was some big two weeks ;)
<2> yeah same here.
<0> port forwarding. internal and external port same?
<0> oh
<0> I'm in dmz
<0> ok
<2> crap, vnc still breaks when compiling with the 'server' use flag
<2> attributes.c: In function 'XpGetConfigDirBase':
<2> attributes.c:152: warning: ***ignment from incompatible pointer type
<2> http://pastebin.com/768516
<0> dvision: is DMZ save?
<2> i don't know DMZ
<4> morning
<5> Anyone knows a good screenshot-program that I could use from a term?
<6> scrot
<7> moin
<8> import
<9> Sandriman: ImageMagick
<9> which contains the command 'import'
<5> Ok
<5> Thanks :)
<5> I'll look into it
<9> yw
<9> O=)
<10> Ey dudes. =)
<11> oy ladies.
<9> hey wb irz =)
<12> my nuts ;>
<9> hi wipu
<11> :)
<10> Eyy ArcAngel =)
<10> Thx.
<9> mhm
<9> O=)
<10> Mhm =)
<10> Just testing the script.
<10> And hey Nadriel :)
<10> Reaaaaally nice song.
<11> :|
<11> Haven't heard that one either. ^__^
<10> Hmm?
<10> Should I send it?
<11> np: B***hunter.se - Boten anna
<11> :)
<11> If you want
<10> or uh yeah right. I cant now.
<11> :)
<10> I'm behind this stupid router.
<13> wget question: Im leaching tons of files from one server via wget, made a small script that fetches 0.zip -> 4000.zip, but the thing is, Im getting tons of index.html files when the zip file in question isn't in existance.. is there any way to check if the file exists before wget attempts to fetch it and hence skip the file.
<9> ArB: ofcourse, that should be scriptable too
<13> ArcAngel~ I thought it might, but the question remains, how ? =P any tool that can do that or ?
<9> vi? =)
<9> hehe
<9> ArB: you can build in some http check
<9> ArB: with simple if expression
<9> for example check the complete url with file, if it excists return 1 and continue download
<9> else don't download it
<12> or just let it download it and later delete all index.html files that meet certain criteria
<12> because trying to download and seeing if a file exists are more or less the same thing
<14> irz: no friggin away blah and stuff
<15> can I configure kernel sources in a seperate dir (other than /usr/src/linux) and symlink it lateron?
<14> first part: yes
<14> second: dunno, but probably yes
<16> For most things even the sym link is not needed.
<15> what does ncurses mean?
<17> lnxnt_, new curses
<15> does sysctl mean systemcontrol ?
<15> because you can tune your kernel at runtime perhaps
<15> :) is pentium M a pentium 4 ? :)


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #gentoo
or
Go to some related logs:

#c
#sicilia
#worldchat
#london
#worldchat
la professoressa Librace da Benevento
#worldchat
#worldchat
#worldchat
#worldchat



Home  |  disclaimer  |  contact  |  submit quotes