get client IP if server is on private network
DComTalk.com Forum Index DComTalk.com
Discussion of VoIP, VPN, Video Conferencen, DSL and other data commucations.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web dcomtalk.com
get client IP if server is on private network

 
Post new topic   Reply to topic    DComTalk.com Forum Index -> Cisco
Author Message
kkivi
Guest





Posted: Mon Dec 05, 2005 4:00 pm    Post subject: get client IP if server is on private network Reply with quote

Hello
I must say I am not very familiar with low level IP so the question may
be rather stupid.

We have a private (10.x.x.x) network connected to internet via CISCO (
and
have one public address). There is a unix server (ssh ) inside network
accessible from
internet . Clients connects to our public IP (CISCO I think ) to a
specific
port and get to our ssh server. _In ssh server log I can see their real
IPs_. This is
important for me.

Now I want simular setup at our another (larger) office and again I
want to
see what is client's real IP. However I was told that this is not
possible (get real IP) for some reason.

Can anybody explain why it is possible in one situation and not in
another.

Best regards, Konstantin Kivi
Back to top
Michał Iwaszko
Guest





Posted: Mon Dec 05, 2005 5:20 pm    Post subject: Re: get client IP if server is on private network Reply with quote

kkivi napisał(a):
Quote:
Hello
I must say I am not very familiar with low level IP so the question may
be rather stupid.

We have a private (10.x.x.x) network connected to internet via CISCO (
and
have one public address). There is a unix server (ssh ) inside network
accessible from
internet . Clients connects to our public IP (CISCO I think ) to a
specific
port and get to our ssh server. _In ssh server log I can see their real
IPs_. This is
important for me.

Now I want simular setup at our another (larger) office and again I
want to
see what is client's real IP. However I was told that this is not
possible (get real IP) for some reason.

Can anybody explain why it is possible in one situation and not in
another.

As far as I recall port forwarding in PAT does not change the source IP
address, so I can't figure out, why the've told You, that it's not
possible. I would ask for a reason, if I was in Your shoes.

--
Michał Iwaszko
(Rot13 my address)
Back to top
kkivi
Guest





Posted: Mon Dec 05, 2005 5:20 pm    Post subject: Re: get client IP if server is on private network Reply with quote

Can the router between the firewall and the sever be a problem?
Back to top
Guest






Posted: Tue Dec 06, 2005 2:18 am    Post subject: Re: get client IP if server is on private network Reply with quote

It sounds like you want to forward the SSH port to your Unix box.

On a pix firewall, the commands should be something like below:

! below should point to the IP address of your server

static (inside,outside) tcp interface 22 10.x.x.x netmask
255.255.255.255 0 0

! below permits SSH to your outside interface

access-list BLAH permit tcp any interface outside eq 22

! applies the access list to outside interface

access-group BLAH in interface outside
Back to top
www.networking-forum.com
Guest





Posted: Tue Dec 06, 2005 2:57 am    Post subject: Re: get client IP if server is on private network Reply with quote

Not unless there is specific configuration preventing this. The router
in between should just be forwarding the packets and not changing the
source IP address.

Regards,
Steve
www.networking-forum.com
Back to top
kkivi
Guest





Posted: Thu Dec 08, 2005 12:29 am    Post subject: Re: get client IP if server is on private network Reply with quote

Thank you all for answers. The problem is they use FreeBSD 4.3 and
rinetd package
and know no better.
Back to top
 
Post new topic   Reply to topic    DComTalk.com Forum Index -> Cisco All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot 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




VoIP Solutions: Telephone Systems Electronics Satellite TV Tech & Gadgets
Powered by phpBB