Questions tagged [route]

Command line tool for manipulating and listing the routing table.

620 questions
0
votes
0 answers

Docker containers can't connect to IP on the Internet but the host can

I've been scratching my head about this for a full day now, I'm hoping to get some pointers in the right direction. From the host I can connect to the Internet just fine, but any container I start does not have connectivity. When I run this script…
bash
  • 1
  • 2
0
votes
2 answers

What is the difference between route add x.x.x.x via gatewayip and route add dev interface?

I was so confused with my configuration. In my server I have 2 interfaces: eth0: 192.168.1.22 gw 192.168.1.1 eth2: 10.2.1.6 gw 10.2.1.1 I wrote a static route: ip r a 8.8.8.8 via 192.168.1.1 worked great!! then I deleted it and ip r a 8.8.8.8…
bing0
  • 1
  • 2
0
votes
0 answers

Static route to access IP/subnet beyond 2 interfaces

networkmap I'm trying to reach the CCTV camera feed remotely. By connecting to WireGuard VPN server in my home. The CCTV video server is also connected by VPN profile, its location is in my shop. The video server has wireless card which works as…
Wild Star
  • 1
  • 1
0
votes
0 answers

Can't create a pseudo network interface on Debian 11

I have a KVM based Debian 11 (bullseye) VPS with internet access on eth0 network adapter. The public IP has been assigned by DHCP. The IPs and Routes are as what follows: ifconfig and iptable BEFORE adding new interface Note: Due to hide my server…
0
votes
1 answer

How to NAT-route network to Tailscale?

EDIT: I already spent 3 days going through different possible ways of handling this and settled on iptables. This is like the biggest-kept secret to me. No matter how much I read, I feel like I'm missing some critical information to doing something…
Sawtaytoes
  • 143
  • 8
0
votes
1 answer

How to add a static route to a host via interface using 'route' tool?

I'm new to *bsd systems. Usually in linux-based I add routes like that: # eth0 ip address ip a add 10.100.1.2 dev eth0 # gw is accessible via eth0 interface ip route add 10.100.2.1 dev eth0 # default route via 10.100.2.1 ip route add default via…
0
votes
1 answer

Make IP route and routing rules permanent using nmcli on RHEL 8 / Rocky 8

I have a network interface for which I would like to configure routes. # ip address show br_10G_V888 6: br_10G_V888: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 78:ac:44:09:9d:82 brd…
Nicolas De Jay
  • 209
  • 2
  • 11
0
votes
0 answers

Nginx route based on condition

we are running react service as frontend and nodejs as backend service in docker containers and we are using nginx proxy as a load balancer to serve those containers in feature we are trying to run two frontend docker containers and two backend…
lucky
  • 1
  • 2
0
votes
0 answers

Ubuntu/netplan/iproute: route everything except specific /24 across interface

2 VLANs 10.160.32.0/24 on ens160 -> * (assume multiple non-merging subnets) 10.192.16.0/24 on ens192 -> management Through ens160 I can hit other networks via routing. Through ens192 is my management interface which isn't routeable via…
ClontarfX
  • 1
  • 2
0
votes
0 answers

After upgrading Debian in my OVH PVE, I just can't access its SSH or WebManager

This PVE has 1 VM in it. After updating the PVE OS (Debian) it has been rebooted. Since then I can't access either its SSH or the webmanager, BUT I can SSH the VM in it!!! The only way to access the PVE is by OVH's IPMI. These are some of PVE's…
0
votes
0 answers

pptp-linux- route route all traffic expect internet traffic

From pptp documentation, defaultroute and replacedefaultroute are used to route all traffic through PPP0 tunnel. with these options, route -n results: 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 this results in…
Benjamin Jones
  • 326
  • 1
  • 9
  • 23
0
votes
1 answer

Route traffic on datacenters without traffic usage

Imagine you have 2 servers, one on OVH and another one on Hetzner and each of them has a 500GB traffic usage limit. can you route traffic from Hetzner to OVH without traffic usage for Hetzner?
Mahdi
  • 1
0
votes
2 answers

Want to set GRE as the default network

I have configured 2 servers, SERVER A and SERVER B. (I have followed this tutorial: https://community.hetzner.com/tutorials/linux-setup-gre-tunnel) I have used SERVER A for GRE tunnel to SERVER B (Meaning all traffic sent to server A shall be routed…
0
votes
0 answers

Linux Routing between Linux servers

I am trying to route traffic from server2 to the firewall using server1. here is the network diagram There is an IPSec site-to-site between 2 firewalls. The remote(right) site IP is 192.168.0.1 and the local(lift) Firewall IP is 192.168.1.1. Local…
0
votes
0 answers

Connect To OpenVPN Inside A Server Configured With OpenVPN

I have configured OpenVPN Server and successfully I'm able to connect to the user I created inside that Server. Now I want to make a connection to another OpenVPN Server inside my Server. When I was making the second Open VPN connection, the SSH was…
Amir
  • 1