Skip to content

UDP-Configuration (wireguard) #488

@prismplex

Description

@prismplex

Hello community,
referring to issue #316. Still great project, unfortunately I am still not able to get it to work, for sure I am missing something.

My current configuration:
I am using sslh-select (version sslh-2.1.2) in transparent mode on an arch-based system with the following configuration file:
*tcp-port, udp-port are the corresponding service ports I can connect to directly without problems.

timeout: 5;
transparent: true;

# Logging configuration
# Value: 1: stdout; 2: syslog; 3: both
# Defaults are indicated here, and should be sensible. Generally, you want *-error
# to be always enabled, to know if something is going wrong.
verbose-config: 0; #  print configuration at startup
verbose-config-error: 3;  # print configuration errors
verbose-connections: 3; # trace established incoming address to forward address
verbose-connections-error: 3; # connection errors
verbose-connections-try: 0; # connection attempts towards targets
verbose-fd: 0; # file descriptor activity, open/close/whatnot
verbose-packets: 0; # hexdump packets on which probing is done
verbose-probe-info: 0; # what's happening during the probe process
verbose-probe-error: 3; # failures and problems during probing
verbose-system-error: 3; # system call problem, i.e.  malloc, fork, failing
verbose-int-error: 3; # internal errors, the kind that should never happen


listen:
(
    { host: "hostname"; port: "443"; },
    { host: "hostname"; is_udp: true; port: "443"; },
);

protocols:
(
# Forward TCP
     { name: "ssh"; service: "ssh"; host: "localhost"; port: "tcp-port"; keepalive: true; fork: true; tfo_ok: true },
     { name: "openvpn"; host: "localhost"; port: "tcp-port"; tfo_ok: true },
     { name: "xmpp"; host: "localhost"; port: "tcp-port"; tfo_ok: true },
     #{ name: "http"; host: "localhost"; port: "tcp-port"; tfo_ok: true },
     { name: "tls"; host: "localhost"; port: "tcp-port"; tfo_ok: true },
     #{ name: "anyprot"; host: "localhost"; port: "tcp-port"; tfo_ok: true },

# Forward UDP
     { name: "openvpn"; host: "localhost"; is_udp: true; port: "udp-port"; },
     { name: "wireguard"; host: "localhost"; is_udp: true; port: "udp-port" }, #Wireguard

);

Does somebody have a working config? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions