Network

DNS server UDP -> TCP

Create a system container that wil run dnsmasq and the dns_over_tcp.py script

Configure systemd-networkd to use the system container to resolve specific domains

SSH point-to-point tunnel

An alternative to using a SOCKS proxy when doing remote engagements. The tunnel is compatible natively with TCP and UDP traffic. The target networks to reach are defined using static routes in systemd-networkd configuration file.

By pre-creating the TUN devices, root-level access on both systems is no longer required.

Local

Remote

Connect to the remote host with ssh REMOTE_HOST -w 1337:1337. This will bring the interfaces UP on both ends and add the configured network routes on the local host.

Last updated

Was this helpful?