LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-27-2021, 06:02 PM   #1
DigiLynx
LQ Newbie
 
Registered: Sep 2021
Posts: 3

Rep: Reputation: Disabled
Dante proxy server connection issues


Hi, so I'm lost at where I'm going wrong. I've been looking into everything I could get google to point me to, but I'm still having issues here.

Just to note, this is my first time setting up a proxy server, so I'm learning as I'm going.

I installed Kubuntu on a VM with bridged networking, installed dante-server v1.4.2 on it, replaced the danted.conf file with the example full minimal template available on the developer's website (and made the appropriate modifications such as the correct IP address, etc), and assigned a static IP to the VM that I port forwarded TCP/UDP 1080 to from my physical modem. I have not installed ufw on this and I do not have any managed network hardware on my network other than the ISP modem, so there's no firewall in play. I've also confirmed the service is starting up and shown as running fine via systemctl status.

The purpose of this proxy server will be to route Cobian FTP backups over the internet.

Whenever I test in Cobian 11, it gives me a timeout. The Cobian settings I'm using are proxy type as SOCKS 5 and the proxy host as my public IP, port as 1080, and no authentication.

If it helps, here is the full .conf file I'm using.

Code:
#logging
logoutput: /var/log/sockd.log
#debug: 1

#server address specification
internal: 192.168.2.15 port = 1080
external: 192.168.2.15

#server identities (not needed on solaris)
#user.privileged: root
user.notprivileged: socks
#user.libwrap: libwrap

#reverse dns lookup
#srchost: nodnsmismatch

#authentication methods
clientmethod: none
method: none

##
## SOCKS client access rules
##
#rule processing stops at the first match, no match results in blocking

#block access to socks server from 192.0.2.22 (exception for pass rule below)
# client block {
#       #block connections from 192.0.2.22/32
#       from: 192.0.2.22/24 to: 0.0.0.0/0
#       log: error # connect disconnect
# }

#allow connections from local network (192.0.2.0/24)
client pass {
        from: 192.168.2.0/24 to: 0.0.0.0/0
	log: error # connect disconnect
}

##
## SOCKS command rules
##
#rule processing stops at the first match, no match results in blocking

#block communication with www.example.org
# block {
#        from: 0.0.0.0/0 to: www.example.org
#        command: bind connect udpassociate
#        log: error # connect disconnect iooperation
# }

#generic pass statement - bind/outgoing traffic
pass {  
        from: 0.0.0.0/0 to: 0.0.0.0/0
        command: bind connect udpassociate
        log: error # connect disconnect iooperation
}

#block incoming connections/packets from ftp.example.org 
# block {
#        from: 0.0.0.0/0 to: ftp.example.org
#        command: bindreply udpreply
#        log: error # connect disconnect iooperation
# }

#generic pass statement for incoming connections/packets
pass {
        from: 0.0.0.0/0 to: 0.0.0.0/0
        command: bindreply udpreply
        log: error # connect disconnect iooperation
}
Perhaps I'm missing something simple, because like I said this is my first time setting up a proxy server.

Any help will be greatly appreciated. Thank you!

Last edited by DigiLynx; 09-27-2021 at 06:20 PM.
 
Old 10-01-2021, 10:47 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,344

Rep: Reputation: Disabled
Can you access resources on the Internet directly from the Kubuntu VM? Make sure you have both IP connectivity and working name resolution.

Can you connect to port 1080 on the VM from the host running Cobian? Try connecting with nc or even telnet.
 
  


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
Trouble starting service for Dante proxy server DigiLynx Linux - Software 2 09-14-2021 08:57 PM
Problem with setting up a Dante socks proxy server wolfdale Linux - Server 0 06-21-2008 07:53 AM
Dante Proxy Server - Trouble Starting Jubalint Linux - Networking 0 09-07-2005 01:32 PM
Connection reset Error with Dante-Client Demaron Linux - Networking 0 07-03-2005 08:12 AM
Dante as proxy client. troopern Linux - Networking 0 07-18-2003 04:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:30 PM.

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