#1  
Old 14th December 2009, 22:23
dpreviti dpreviti is offline
Junior Member
 
Join Date: Dec 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default dante server config issue

Hello all,

Newbie to the group and linux so please be gentle. I am trying to get dante up and can't seem to get any love. I want to set up a simple socks proxy which I will wrap in either openssh or putty.

the Dante log looks like dante starts up with no errors but when I go to connect from the box I get a connection refused error. My dante.conf is:

#Where are we going to log all those useful error messages?
logoutput: /var/log/dante.log

#What ip and port should Dante listen on,
# since I am only going to be using this via SSH
#I only want to allow connections over the loopback
internal: 127.0.0.1 port = 8080

#Bind to the eth0 interface
external: eth0

#Since I am only accepting connections over the loopback,
# the only people that COULD connect
# would already be authenticated,
# no need to have dante authenticate also
method: username none

#Which unprivileged user will Dante impersonate if need-be?
user.notprivileged: nobody

# Who can access this proxy?
# Accept only connections from the loopback, all ports
client pass {
from: 127.0.0.1/0 port 1-65535 to: 0.0.0.0/0
}

#Block all other connection attempts
client block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}

# Once connected, where can they go?
block {
from: 0.0.0.0/0 to: 127.0.0.0/8
log: connect error
}

#Pass from the internal IP to anywhere
pass {
from: 127.0.0.1/0 to: 0.0.0.0/0
protocol: tcp udp
}

#Pass from the loopback going anywhere
pass {
from: 127.0.0.0/8 to: 0.0.0.0/0
protocol: tcp udp
}

# Block everything else
block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}


TIA

DP
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server config on xen virtual server wxman Installation/Configuration 6 21st April 2009 19:40
FTP cannot open remote folder!?! andysm849 Server Operation 23 16th October 2008 23:34
What can be wrong martin_rudowicz Installation/Configuration 9 11th May 2008 19:42
Problems with Postfix Mysql Courier PatrickAdrichem Installation/Configuration 3 13th April 2007 15:44
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01


All times are GMT +2. The time now is 01:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.