Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[gentoo-user] how can I do in this situation? (too strict ..

 
   Soft32 Home -> Linux -> User RSS
Next:  [gentoo-user] XEarth Return on Gnome Restart  
Author Message
Zhang Weiwu

External


Since: Apr 10, 2007
Posts: 82



(Msg. 1) Posted: Fri Dec 17, 2004 5:00 am
Post subject: [gentoo-user] how can I do in this situation? (too strict firewall)
Archived from groups: linux>gentoo>user (more info?)

Hello. I am working in my clients company 1000 miles away from my own
company. I just brought with me my notebook and plugged network cable in
my clients company. I am in a consulting company.

Now is the problem: our company's internal database system sits on 70
port (http), our company's documents are on ftp server (21 port) and I
need to fetch some files from my own desktop computer through scp (22
port). Now I can do nothing for my customer. Now I realized this company
has too strict firewall (or VPN, I am not sure). I cannot detect network
route path by traceroute(1) (always time out), and I found I could only
access two ports to any host outside client's office: 80 port and 443
port. The network deparment of my client is very slow responding and
have strict regulations. I already convinced the customer I cannot work
in this situation, but I hope I could solve some problems instead of
waiting several days for the customer administrator open the ports for
me. What can I do?

If I could ssh to my own desktop computer it's okay, I could use remote
control to get whatever I want. But port 80 is taken (we are on a NAT
network). I wish I could do a scan to see what other ports (besides 80
and 443) are not blocked, so I could adjust my host to listen ssh
connection on that port. But how do I detect what port is not blocked by
their firewall?


--
gentoo-user DeleteThis @gentoo.org mailing list
Back to top
Login to vote
Christoph Gysin

External


Since: Jul 06, 2004
Posts: 210



(Msg. 2) Posted: Fri Dec 17, 2004 3:10 pm
Post subject: Re: [gentoo-user] how can I do in this situation? (too strict firewall) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Zhang Weiwu wrote:
> I wish I could do a scan to see what other ports (besides 80
> and 443) are not blocked, so I could adjust my host to listen ssh
> connection on that port. But how do I detect what port is not blocked by
> their firewall?

- Start tcpdump on a host that is connected on the outside of the firewall.
- Try to open a connection to this host on every port (from the inside).
- Check the tcpdump for connection attempts.

Christoph
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3

--
gentoo-user.RemoveThis@gentoo.org mailing list
Back to top
Login to vote
Gabriel M. Beddingfield

External


Since: Jul 09, 2007
Posts: 147



(Msg. 3) Posted: Sat Dec 18, 2004 11:10 pm
Post subject: [gentoo-user] Re: how can I do in this situation? (too strict firewall) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Zhang Weiwu wrote:

> If I could ssh to my own desktop computer it's okay, I could use remote
> control to get whatever I want. But port 80 is taken (we are on a NAT
> network). I wish I could do a scan to see what other ports (besides 80
> and 443) are not blocked, so I could adjust my host to listen ssh
> connection on that port. But how do I detect what port is not blocked by
> their firewall?

I have a similar situation at my office. I set up my home computer sshd to
listen to port 80, and it works great. Once on my home computer, I can get
wherever else I need to be.

I don't understand what you mean by "port 80 is taken." At the customer
site, or back home? As long as you're not running a web-server at home...
you're set. If you are, I see your problem.

On the desktop, in /etc/ssh/sshd_config add the lines:

Port 22
Port 80

This will get your ssh listening on both ports.

E-mail me off-list if you need temporary access to my little sshd server
(operating on port 80).

--
G a b r i e l M . B e d d i n g f i e l d


--
gentoo-user DeleteThis @gentoo.org mailing list
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[gentoo-user] Install Situation - Hello All, Yesterday, I started my first attempt at installing Gentoo. This was a practice run on a test computer..

[gentoo-user] What is up with the new "domainname" situati.. - How is it that the baselayout has changed and now the domainname script is missing from /etc/init.d and all sorts of..

[gentoo-user] IMAP server necessary in this situation? - I currently use postfix and courier-imap. Is courier necessary if I will only be accessing my mail via maildir mutt? ...

[gentoo-user] genkernel-3.1.6 fails for my situation - My system configuration is a bit strange: (laptop) 1 IDE hard drive, only /boot is on that, for storing kernel and..

[gentoo-user] Strange Upgrade Situation - Hi All, A couple of weeks ago, I upgraded to Firefox 2.0. Since then, when I did an upgrade, I got notified that the....

[gentoo-user] Question regarding trick portage.mask situat.. - I've been having serious problems with newer versions of gentoo-sources (basically 2.6.12-r9 and 2.6.12-r10), so I have...
       Soft32 Home -> Linux -> User All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]