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
}
client pass {
from: 0.0.0.0/0 to: 80.1.1.1/32
log: connect disconnect
}
client block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
block {
from: 0.0.0.0/0 to: 127.0.0.0/8
log: connect error
}
block {
from: 0.0.0.0/0 to: 172.16.0.0/12
log: connect error
}
pass {
from: 0.0.0.0/0 to: 80.1.1.1/24
command: bindreply udpreply
log: connect error
}
pass {
from: 80.1.1.1/24 to: 0.0.0.0/0
protocol: tcp udp
log: error
}
Question: Do I need differernt internal and external interfaces?
If yes, how can this be accpomplished? (tun device?)
Thanks for reading and hints,
Wolf