Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As some software doesn't listen to IPv6 port, we often do a port proxy to solve the problem. For example, the remote desktop in Win2003, we just run netsh interface portproxy add v6tov4 listenport=3389 connectaddress= connectport=3389 and then everything goes well.

Now I'd like to visit the Deluge WebUI ( by IPv6, how to do this in ubuntu???

share|improve this question
up vote 1 down vote accepted

You can use xinetd for that.

In this example I'll show how to redirect incoming connections to IPv6 address 2001:db8::1 port 1234 to IPv4 address port 1234. I'll call the configuration/service 'demo':

Put the following configuration in a configuration file called /etc/xinetd.d/demo:

service demo
    type            = UNLISTED
    port            = 1234
    bind            = 2001:db8::1
    socket_type     = stream
    wait            = no
    user            = nobody
    redirect        = 1234

It also lets you control who can access the service in both the service definition and the /etc/hosts.allow and /etc/hosts.deny files.

service demo
    only_from       = 2001:db8::/32
    no_access       = 2001:db8:ffff::/48

Other potentially useful option:

service demo
    access_times    = 09:45-16:15
    log_on_success  = HOST DURATION
    log_on_failure  = HOST ATTEMPT
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.