LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-20-2001, 10:19 AM   #1
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
proxy


[root@lockbox /usr/src/SCRIPTS]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.0.0.0 --- 0.0.0.0 ----- 255.255.255.0 - U - 40 - 0 - 0 - eth0
10.20.30.0 - 0.0.0.0 ----- 255.255.255.0 - U - 40 - 0 - 0 - eth0
127.0.0.0 -- 0.0.0.0 ----- 255.0.0.0 - U - 40 - 0 - 0 ----- lo
0.0.0.0 ---- 10.20.30.42 - 0.0.0.0 - UG -- 40 - 0 - 0 ------ eth0


[root@lockbox /usr/src/SCRIPTS]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:20:78:1A:79:2D
inet addr:10.20.30.40 Bcast:10.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46954 errors:0 dropped:0 overruns:0 frame:0
TX packets:47202 errors:0 dropped:0 overruns:0 carrier:0
collisions:11 txqueuelen:100
Interrupt:11 Base address:0xef80


lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:745954 errors:0 dropped:0 overruns:0 frame:0
TX packets:745954 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

[root@lockbox /usr/src/SCRIPTS]#

I am trying to connect to my wifes windows computer. It is running proxy software which allows me to connect to the internet but I want to be able to connect at the 'system' level. I can use konquerer without any problem to get online but I want to be able to use things like ping, nslookup, and all those other things that don't have proxy settings. Is there a way that I can do this.

Currently I can connect to the internet by using my wifes computer
(10.20.30.42) on port 8080.
 
Old 07-20-2001, 10:43 AM   #2
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
Look on www.freshmeat.net for a progarm called "tsocks" it's a transparent socks program with libraries and a configuration file you can use to point to your wifes proxy machine.
 
Old 07-20-2001, 12:54 PM   #3
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Original Poster
Rep: Reputation: 30
It seems that the package that you suggested was exactly what I needed but the documentation seemed a little sparse.

Do I need to change any of my network settings. I am not sure exactly how the package works which means that I don't know what I need to change.

Here is what I can get so far.

I can telnet and have the hostname resolved but I cannot connect.
This is what I get.

# telnet bofh.jive.org 666
Trying 129.105.45.50
libtsocks: socks server refused connection
unable to connect to remote host: connection refused.

I cannot ping anything outside of my network succesfully. name resolutions seem to be working though.

It seems to me that I can send out ping requests and telnet requests okay but I just can't receive the information that it is trying to send back except for DNS info. I do have ipchains installed, but I really haven't messed with it at all since it was installed. Any help will be really appreciated. Thanks.
 
Old 07-20-2001, 02:51 PM   #4
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
I couldn't find any docs either. The homepage is http://tsocks.sourceforge.net, but it's blank. There is an article on Linux Gazette that explains linux as a socks client at http://www.linuxdoc.org/LDP/LG/issue51/tag/14.html and it includes links to a how-to. Best I can do. If your tsocks.conf is configured and your libraries are in the right places and you've added the $LD_PRELOAD environment variable it should work, that's all I had to do to get mine working. Anyway, check the article and weblinks above. Hopefully that will help.
 
Old 07-20-2001, 06:55 PM   #5
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Original Poster
Rep: Reputation: 30
I started reading that stuff, but it seems to be geared more to setting up and configuring a linux proxy. I am going to try and find a new proxy for the windows machine and see if that helps.
 
Old 07-20-2001, 09:29 PM   #6
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Original Poster
Rep: Reputation: 30
Does anyone have any idea where I am going wrong here. It seems that I can send out information but cannot receive it. If anyone has any suggestions about configurations or software ti use, I would greatly appreciate it.

I tried different proxy software on the windows comuter but everything seemed to be the same. I also tried changing a couple of settings with route and ifconfig but all it did was make things worse.

I just don't understand what is happening. Telnet is able to resolve the name to an ip address but it is unable to connect. My opinion is that I am sending out all of the correct information to the remote server but I am just unable to accept it when they try to send it back.

Here is another example of what is happening.

When I do this.....

[root@lockbox ~]# ping linuxdoc.org
PING linuxdoc.org (152.19.254.81) from 10.20.30.40 : 56(84) bytes of data.

--- linuxdoc.org ping statistics ---
9 packets transmitted, 0 packets received, 100% packet loss

(I ended this with a control-C)

I see this in tcpdump...

22:06:08.816096 eth0 > 10.20.30.40.32792 > 10.20.30.42.domain: 36708+ A? linuxdoc.org. (30) (DF)
22:06:08.819148 eth0 > 10.20.30.40.32793 > 10.20.30.42.domain: 39113+ PTR? 42.30.20.10.in-addr.arpa. (42) (DF)
22:06:08.822867 eth0 < 10.20.30.42.domain > 10.20.30.40.32792: 36708 1/0/0 A 152.19.254.81 (58)
22:06:08.824118 eth0 > 10.20.30.40 > 152.19.254.81: icmp: echo request (DF)
22:06:09.085099 eth0 < 10.20.30.42.domain > 10.20.30.40.32793: 39113 NXDomain 1/0/0 A 1.2.1.2 (78)
22:06:09.087241 eth0 > 10.20.30.40.32794 > 10.20.30.42.domain: 39114+ PTR? 40.30.20.10.in-addr.arpa. (42) (DF)
22:06:09.465415 eth0 < 10.20.30.42.domain > 10.20.30.40.32794: 39114 NXDomain 1/0/0 A 0.0.0.0 (78)
22:06:09.467589 eth0 > 10.20.30.40.32794 > 10.20.30.42.domain: 39115+ PTR? 81.254.19.152.in-addr.arpa. (44) (DF)
22:06:09.747176 eth0 < 10.20.30.42.domain > 10.20.30.40.32794: 39115 NXDomain 1/0/0 A 0.0.0.0 (82)
22:06:09.749011 eth0 > 10.20.30.40.32794 > 10.20.30.42.domain: 39116+ PTR? 2.1.2.1.in-addr.arpa. (38) (DF)
22:06:09.818878 eth0 > 10.20.30.40 > 152.19.254.81: icmp: echo request (DF)
22:06:09.984461 eth0 < 10.20.30.42.domain > 10.20.30.40.32794: 39116 NXDomain 1/0/0 A 0.0.0.0 (70)
22:06:10.819110 eth0 > 10.20.30.40 > 152.19.254.81: icmp: echo request (DF)

The last line keeps repeating until I stop the ping.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
Need help to connect a squid proxy to connect to another squid proxy server bellerophon Linux - Newbie 1 02-07-2006 06:52 AM
Proxy problem: can`t connect SSH through proxy... bugzilla Linux - Networking 3 09-16-2004 10:36 AM
how to enable proxy by variables-proxy is IP-adres joeSVK Linux - Networking 0 02-11-2004 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration