New answers tagged

0 votes
Accepted

Why is UFW blocking acces to SSH via Wireguard?

Some more testing brought my attention to the fact that I need to include the other remote subnet into the forwarding rule: ufw route allow in on eth0 out on wg0 to 192.168.178.0/24 Voilá!
  • 355
2 votes

How Do You Set A Default Route 0.0.0.0/0 On A DHCP Enabled Interface

Modern ip route command: ip route add default via <gateway IP> Legacy route command: route add default gw <gateway IP> With both commands, you can optionally add dev <network device ...
  • 72.7k
0 votes

Setting up a NordVPN gateway on my Raspberry Pi

I don't use a browser plugin, I just connect from the terminal. These are the steps I took to get everything running with Raspberry Pi OS 64 bit: $ sudo wget -qnc https://repo.nordvpn.com/deb/nordvpn/...
0 votes

How a transparent proxy knows the original destination address of DNATed packet?

You're curious to know "how the transparent proxy [on server B] knows the original destination of the packet". It can't, because you rewrote both source (MASQUERADE) and destination (DNAT) ...
  • 94.1k
1 vote
Accepted

How to route all traffic from a specific interface to a specific gateway instead of default route?

Simple routing is not enough here. Simple routing cares about destination. But here the goal is to change route also according to source. Doing this is called policy routing. On Linux this is ...
  • 26.6k
2 votes

Some websites not loading on Arch Linux

Two obvious possibilities: DNS issues, dig can show how the requested websites are resolved routing issues: have a look at your routing table (ip route) and do the same for IPv6 if enabled on your ...
  • 731
0 votes

Some websites not loading on Arch Linux

Make sure you have at least one public nameserver in your resolv.conf, i.e. google 8.8.8.8 Make sure you have a default route configured, which can be done from the command line as root: /usr/sbin/ip ...

Top 50 recent answers are included