[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Network Troublshooting  |  General Networking Support in Linux  |  Topic: FTP, IP problem with Transparent proxy and NAT
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: FTP, IP problem with Transparent proxy and NAT  (Read 1952 times)
0 Members and 1 Guest are viewing this topic.
kenchix1
Tux Awared
**
Offline Offline

Posts: 37


View Profile
« on: April 05, 2004, 11:18:33 PM »

I had a problem before with the NAT and transparent proxy. Now, everything seems to be working fine. I can go anywhere and the squid proxy logs every activity that i made on the internet. But there is something i noticed, when I logged in to my website and post a message, I noticed that the IP log on the website is using my INTERNAL IP ADDRESS ! Im not sure if its really should be that way, but when i tried cuteftp on port 21, it gave me an error :

Code:
COMMAND:> USER kenchix1
331 User yourstuffs okay, need password.
COMMAND:> PASS ******
230-You are user #26 of 350 simultaneous users allowed.
230-
230 Restricted user logged in.
STATUS:> Login successful
COMMAND:> TYPE I
200 Type okay.
COMMAND:> REST 100
350 Will attempt to restart at position 100.
STATUS:> This site can resume broken downloads
COMMAND:> REST 0
350 Will attempt to restart at position 0.
COMMAND:> pwd
257 "/" is cwd.
COMMAND:> TYPE A
200 Type okay.
STATUS:> Retrieving directory listing...
COMMAND:> PORT 192,168,1,11,5,71
550 Data connection must go to same host as control connection.
STATUS:> Error opening data socket

it said Data connection must go to same host as control connection, and i can't see the directories in the site.

Im really lost, i don't really know what's wrong now. is it the squid ? the NAT ? the cuteftp ?

Thank you in advance.
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2190


View Profile
« Reply #1 on: April 06, 2004, 03:03:52 AM »

It is CuteFTP .. You have to enable Passive mod for FTP in cute ftp. go and find that if are not able to find that in cuteftp then ask again..
Logged
kenchix1
Tux Awared
**
Offline Offline

Posts: 37


View Profile
« Reply #2 on: April 07, 2004, 03:26:46 AM »

WOW! it worked ! Smiley I enabled the PASV mode. i don't know what PASV mode means. Cheesy

Thank you sir ricky! Smiley btw, does transparent proxy really logs internal IP addresses  ?
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2190


View Profile
« Reply #3 on: April 07, 2004, 04:46:48 AM »

well.. when u use passive mod then server tells your ftp that on which port he is going to accept connection and in normal mod it only uses port 21 for data connection.
Quote
, when I logged in to my website and post a message, I noticed that the IP log on the website is using my INTERNAL IP ADDRESS
Sorry but i don't understand that wht you r saying about internal ip loggin can u explain me in diff. way wht u are askin ?
Logged
kenchix1
Tux Awared
**
Offline Offline

Posts: 37


View Profile
« Reply #4 on: April 12, 2004, 03:44:53 AM »

Example is this : (IP addresses are fictitious only)
our local area network DHCP server, gave me a network address of 192.168.1.105 whenever i login. we only have 1 internet connection which we share to some users and it has static address of  200.100.100.10

Before, when were using Windows Proxy, whenever I post message into my website, the ip address that were being logged in the website is the 200.100.100.10. Wherever I create transactions, (ex. bank transaction where ip log is needed) they show me that my ip address is 200.100.100.10.

But after we transfered to squid running under linux as proxy server and enabled the transparent proxying, whenever i post a message to my website, or do bank transactions, it tells me that my ip address is the 192.168.1.105 which is my internal IP address for our local network.

For example, before when i post message in this forum, the administrator will see the logged ip for this message is 200.100.100.10 , but after using the squid proxy/transaparent proxying, he now see that my ip address is 192.168.1.105, which is the assigned ip address for my computer in our local network.

Thank you sir.
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2190


View Profile
« Reply #5 on: April 12, 2004, 11:32:41 AM »

Well when you see your access.log  you will that it is showing that which internal address (client) is trying to connect to which one.. It shows internal address and external but not external IP.. YOu can do it to do so.. but i have not done that but have seen that how to customize squid logging.. but not remember where.. Smiley
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Configuring Squid Proxy server & Transparent Proxy Linux Tutorials & How To's « 1 2 ... 10 11 » Ricky 163 89375 Last post September 11, 2006, 03:09:34 PM
by Ricky
Firewall using NAT (after configuring transparent proxy) General Networking Support in Linux kenchix1 1 1258 Last post March 02, 2004, 12:02:23 AM
by Ricky
Problem with Squid as transparent proxy Linux Servers Support RazaMetaL 5 2004 Last post June 08, 2004, 04:21:39 AM
by Ricky
ACL on Transparent proxy Linux Proxy Server Support ilias 12 3026 Last post May 26, 2006, 03:12:54 AM
by manojkumar.np
Help Transparent Proxy Linux Proxy Server Support moslemovic 2 835 Last post August 24, 2006, 02:10:41 AM
by moslemovic
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 13, 2008, 06:43:35 PM

Login with username, password and session length
Navigation
Recent Discussions
[Today at 03:33:27 PM]

[October 10, 2008, 04:26:36 PM]

[October 10, 2008, 04:25:32 PM]

[October 09, 2008, 05:17:47 PM]

[October 08, 2008, 04:32:08 AM]

[October 07, 2008, 05:16:33 AM]

[October 06, 2008, 03:09:51 AM]

[October 04, 2008, 03:33:03 AM]

[October 03, 2008, 06:21:18 AM]

[October 03, 2008, 05:31:19 AM]
Members
Total Members: 6110
Latest: pc_shinod
Stats
Total Posts: 8207
Total Topics: 2225
Online Today: 12
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 2
Total: 2
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc