proxy questions

proxy questions

Post by Wolf Gross » Sat, 07 May 2011 18:41:03



Greetings!

I just recently started to 'play' with dante proxy, and there are some
questions I hope to get answered from this group :-]

The situation and what I want to accomplish:
I run an internet freeBSD-server with IP 200.1.1.1.
Dante server is installed and running, listening on port 1080

What I want to do:
Connect from my local PC (WinXP) to dante socks on 200.1.1.1:1080, so
that all my internet activities, regardless if browsing, ftp or online
game, are passed via the socks server to destination and vice versa.

To communicate with the internet I have a fixed ip 80.1.1.1.

The problem:
To test I've set firefox to use proxy at 200.1.1.1:1080
When trying to access an address, e.g. http://www.google.com, I do not
get any response, just a blank screren, no errors or whatsoever.

The logfile shows that a connection has been established.

var/log/sockd.log:
------------------
Apr 30 13:44:26 (1304163866.360749) sockd[12222]: created new requestchild
Apr 30 13:44:26 (1304163866.366610) sockd[12217]: dante/server v1.2.3
running
Apr 30 13:44:26 (1304163866.366609) sockd[12223]: created new iochild
Apr 30 13:45:07 (1304163907.787452) sockd[12218]: pass(1): tcp/accept [:
80.1.1.1.2544 200.1.1.1.1080

The socks configuration in
/etc/sockd.conf:
----------------
logoutput: /var/log/sockd.log
logoutput: stdout
internal: 200.1.1.1 port = 1080
external: 200.1.1.1

method: none username pam
clientmethod: none
user.notprivileged: proxy

Client pass {
   from: 80.1.1.1/32 to: 0.0.0.0/0
   log: connect disconnect

Quote:}

client pass {
   from: 0.0.0.0/0 to: 80.1.1.1/32
   log: connect disconnect
Quote:}

client block {
   from: 0.0.0.0/0 to: 0.0.0.0/0
   log: connect error
Quote:}

block {
   from: 0.0.0.0/0 to: 127.0.0.0/8
   log: connect error
Quote:}

block {
   from: 0.0.0.0/0 to: 172.16.0.0/12
   log: connect error
Quote:}

pass {
   from: 0.0.0.0/0 to: 80.1.1.1/24
   command: bindreply udpreply
   log: connect error
Quote:}

pass {
   from: 80.1.1.1/24 to: 0.0.0.0/0
   protocol: tcp udp
   log: error

Quote:}

Question: Do I need differernt internal and external interfaces?
If yes, how can this be accpomplished? (tun device?)

Thanks for reading and hints,
Wolf

 
 
 

1. Newbie Proxy Question Err... help - how do I deny access to a proxy?

I've set up a caching proxy server using apache running on a solaris
machine and I'm trying to restrict access to specific ip addresses on
a network.

As far as I understand in the access.conf file I have to put a few
lines like

order allow,deny
allow from **.**.**.24
allow from **.**.**.125

and if someone sitting on **.**.**.25 tried to connect to the proxy it
would be denied.

Obviously since this is not happening I'm posting this, what am I
doing wrong?

robbie
--


2. Cracked accounts

3. proxy question

4. Linux+PC X-win server (Summary)

5. Apache Proxy Question

6. Default Group Permissions

7. Newbie FTP/Proxy Question

8. How to port ??

9. ipv6 proxy question

10. Apache proxy question

11. Apache Proxy questions

12. CERN proxy questions

13. IPFWADM / Proxy Question