Skip to contentSkip to conversation

Sending just ssh traffic via wg

DISCUSSION Brian Candler 3 participants 4 messages Oct 6, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 8 lines · On 06/10/2018 11:00, [email protected] wrote:
Quoted 2 lines

This may be a stupid question, but why do you need OpenVPN any more, if you have Wireguard?

Because it's already there?:)

Furthermore, some members of our IT team use macs (gasp!) and for them it would be much easier to continue to use OpenVPN than to set up wireguard-go.

I use wireguard on a Mac and it was as simple as "brew install wireguard-tools"; create config; "sudo wg-quick up wg0".

My even more stupid question is "why use wireguard if the only thing it's carrying is ssh?" - but I guess it's a convenient way to tunnel to a network which doesn't have public-routed addresses.

(Aside: I wish ssh had a feature like SNI, so that you could build an ssh proxy that forwards incoming connections to the right host.  I have done this before using an inbound SOCKS proxy, but it's messy to use)

_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

#2 lore raw
Quoted 3 lines · On Sat, 6 Oct 2018 11:21:01 +0100 Brian Candler <[email protected]> wrote:

(Aside: I wish ssh had a feature like SNI, so that you could build an ssh proxy that forwards incoming connections to the right host.  I have done this before using an inbound SOCKS proxy, but it's messy to use)

What insane things people invent only not to use IPv6 :)

Signature · 6 lines
With respect,
Roman
_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard
#3 lore raw
Quoted 4 lines · Roman Mamedov
Quoted 3 lines

(Aside: I wish ssh had a feature like SNI, so that you could build an ssh proxy that forwards incoming connections to the right host.  I have done this before using an inbound SOCKS proxy, but it's messy to use)

What insane things people invent only not to use IPv6:)

Quite the opposite: I want it so that I can reach my IPv6-addressable devices when I'm on an IPv4-only network.  Which means, almost everywhere :-)

_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

#4 lore raw
In reply to Brian Candler
Quoted 3 lines · Brian Candler

My even more stupid question is "why use wireguard if the only thing it's carrying is ssh?" - but I guess it's a convenient way to tunnel to a network which doesn't have public-routed addresses.

Right -- and I also don't want to expose ssh ports to the world when not necessary. It's still a root-perms daemon with a (remote) possibility of unknown vulnerabilities in it.

Quoted 3 lines

(Aside: I wish ssh had a feature like SNI, so that you could build an ssh proxy that forwards incoming connections to the right host.  I have done this before using an inbound SOCKS proxy, but it's messy to use)

It also has important downsides that are similar to those in ssh bastion hosts. When you use a proper VPN, every user gets their own internal IP address, so their traffic can be still easily distinguished from traffic belonging to another admin. This is useful for auditing reasons and for identifying unusual activity (e.g. Alex normally accesses hosts belonging to project X, but suddenly starts accessing a lot of hosts that belong to project Y). With bastion hosts or with DNAT-ing proxies this auditing becomes impossible, since all traffic comes from the same IP.

-K
_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard