View previous topic :: View next topic |
Author |
Message |
pi-cubic Tux's lil' helper
Joined: 25 May 2003 Posts: 143
|
Posted: Mon Nov 17, 2003 11:16 pm Post subject: ncftp with proxy? |
|
|
hi,
my problem:
i am behind a proxy server and i don't have a public ip address. the only way to get out is either via ssh (i have an outside box wich allows almost everything) or via proxy (http://proxy.informatik.xxxxx.de)
how do i setup ncftp to work with this proxy? i could of course open a ssh-tunnel for each specific ftp-connection, but this is unefficient. how do i configure my ~/.ncftp/firewall file that it simply uses the proxy server?
greez,
pi-cubiq |
|
Back to top |
|
|
fleed l33t
Joined: 28 Aug 2002 Posts: 756 Location: London
|
Posted: Tue Nov 18, 2003 10:42 am Post subject: |
|
|
Isn't the information in ~/.ncftp/firewall enough? It's more like a man page than a config file! Maybe you haven't had a look there yet, try looking there and editing the file.
Also, you mention the proxy is http://whatever. NcFTP's firewall file makes it clear that it doesn't support HTTP -> FTP proxies. I think if your proxy is http based then you might not be able to use ncftp. Do you know the proxy program that's being used? |
|
Back to top |
|
|
pi-cubic Tux's lil' helper
Joined: 25 May 2003 Posts: 143
|
Posted: Tue Nov 18, 2003 11:05 am Post subject: |
|
|
the proxy should be squid.
i also tried to use our socks proxy (it's a socks5 w/o username and pw), but i couldn't manage it either. i was able to view the directory structure with konqueror displayed as html page: no modification possible! |
|
Back to top |
|
|
fleed l33t
Joined: 28 Aug 2002 Posts: 756 Location: London
|
Posted: Tue Nov 18, 2003 11:09 am Post subject: |
|
|
If the proxy is squid then you can't use ncftp with it (as ~/.ncftp/firewall makes clear). Also, since there's no metion of socks either there or on www.ncftp.com, I'd assume it doesn't support socks.
You might need to use a socks wrapper, emerge -s socks points towards tsocks. |
|
Back to top |
|
|
mog Apprentice
Joined: 05 Jul 2003 Posts: 253 Location: Auckland [NZ]
|
Posted: Tue Jan 13, 2004 2:15 am Post subject: |
|
|
how can I load tsocks at startup so that it socksifies the entire system without having to change to bourne shell? I successfully can tsocksify some app but not the entire system which is very anoying. _________________ To thine own self be true. |
|
Back to top |
|
|
|