Questions tagged [gateway]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

Active directory server default gateway resolution issues

I am using a Raspberry Pi 2 running Ubuntu Server acting as an active directory domain controller with samba and kerberos etc as detailed in this video. I have three Windows 11 Professional clients ...
Oliver Ricketts's user avatar
0 votes
0 answers
90 views

Can't add secondary gateway for secondary interface in Ubuntu 22.04

I have two interfaces and both of them have a public IP address. One of them (eth0) is primary and the other one (eth1) is secondary. I'm trying to setup it through netplan + iproute2. When I was on ...
Semyon Bayandin's user avatar
-1 votes
1 answer
56 views

How is my _gateway ARP entry address resetting itself to a "hardcoded" value?

I've got an ubuntu linux PC on a private 192.168.x.y LAN. It's got an IP on the 0 subnet (192.168.0.y) and is able to ping other PC's on the 0 subnet. It looked like the _gateway MAC address had been ...
LukeDev's user avatar
  • 99
1 vote
0 answers
501 views

Debugging IPv6 connectivity in fresh Debian 12 installation

Context I installed Debian 12 in my machine a couple of days ago, and since then I have been facing some issues with (outbound) IPv6 networking. From my investigation so far (having gone through ...
cronos2's user avatar
  • 203
0 votes
0 answers
56 views

Centos 7 Two Gateways (virtual and VLAN) question

I could not get this working. I have two public ip addresses . on centos 6 my setup was eth0.2 VLAN2 was DHCP from ISP 1 and eth0:1 was static ip address from ISP 2. It worked out the box without any ...
user3265051's user avatar
1 vote
0 answers
98 views

dhcpcd deleting gateway

I'm trying to switch from DHCP to static IP by using dhcpcd. When I switch from static to DHCP I'm configuring that eth0 (which used to have the static address) will also be the one with the DHCP ...
user2384330's user avatar
0 votes
1 answer
47 views

Unable to block traffic with iptables

Router1 is gateway for another router(2). Router1 has set 10.0.0.1/8 lan network to which router2 is attached. 10.0.0.1 is obviously the bridge ip address of lan as well as assigned gateway ip for ...
Svetoslav's user avatar
0 votes
0 answers
40 views

How can I set different bandwidth limits for multiple terminals using linux tc?

How to set different speed for different terminals? In my case: Total bandwidth is 100Mbits/s. No more than 100 terminals. I want each terminal use no more than 2Mbits/s or 3Mbits/s bindwidth I have ...
ackema's user avatar
  • 11
1 vote
0 answers
209 views

Why would an iptables rule for ANY proto only allow ICMP traffic?

Basically, I have a Linux box (Ubuntu Focal) configured as a gateway: sysctl net.ipv4.ip_forward = 1 #Enable ipv4 forwarding iptables -t nat -A POSTROUTING -o ens160 -s 192.168.1.0/24 -j MASQUERADE ...
A. Trevelyan's user avatar
1 vote
0 answers
198 views

How to setup a VM Gateway like Whonix but for a generic VPN

I created a linux VM with 3 interfaces: a NAT interface for internet access (eth0 with ip in this range 192.168.84.0/24), a Host-only interface for communication with other VMs (eth1 with ip 192.168....
Alpha Neptunium's user avatar
0 votes
1 answer
304 views

Using ssh reverse tunnel as gateway to reach machine under NAT

I'd like to reach a machine under a network with NAT and without port forwarding. The machine "closed" behind the no-port-forwarding NAT is called RaspberryB. This machine create a reverse ...
Neopard's user avatar
  • 11
0 votes
0 answers
28 views

Does DHCP on dd-wrt support the absence of the default route?

I have one reason to flash dd-wrt onto my router (rt-ac66u), which is to be able to not assign any default route via DHCP. The stock firmware doesn't seem to be able to do this. Dd-wrt appears to be ...
Andreas's user avatar
  • 511
1 vote
0 answers
67 views

Change tap device gateway

I have vps server, install softether on it , softether use tap device name tap_se with subnet 192.168.24.0/21 netmask 255.255.248.0 broadcast 192.168.31.259, clients connect with openvpn or l2tp to ...
Arman Kabir's user avatar
0 votes
0 answers
77 views

API service on port 8080 is not responding to KONG Container on same machine

I am using Kong Gateway to proxy requests to API services. The Kong gatway is running in a container on the same machine but seems that it cannot access to the API service (504 ERROR bad gateway). Is ...
mehrdad asadi's user avatar
1 vote
1 answer
163 views

How to automatically select the interface as the default gateway based on internet connectivity?

I have two interfaces (one wired and one wireless) where both gets their IP via dhcp and any of them might or might not have an internet connection. I need to create a fallback mechanism that prefers ...
ceremcem's user avatar
  • 2,271
0 votes
1 answer
848 views

Route all traffic from one interface (default gateway) through OpenVPN / tun0 - policy based routing, dependent on source address/interface

I have a Debian Linux VPN router myvpnserver with 2 interfaces, eno1 and eno2: eno1 is connected to a LAN and an internet router. On this interface with static IP address, myvpnserver has its default ...
MrSnrub's user avatar
  • 135
0 votes
1 answer
345 views

How to setup gateway on second DHCP server?

I need to add a static route to my internet service provider's router. Unfortunately, this router does not provide such a modification option for an end-user. The reason I need the static route is so ...
bomben's user avatar
  • 439
0 votes
0 answers
58 views

IPforwarding for gateway not allowing certain software installs

I have a pi gateway I ultimately want to use as a VPN gateway but I'm having some issues with it being a normal gateway right now... Currently my set up is the following: Laptop > (eth1 169.254.169....
ISE7's user avatar
  • 1
1 vote
2 answers
506 views

How to override isc-dhcpd option in child group, to hide default gateway

Given the below configuration, how can I undo the routers option for the inner group so that certain machines don't get told what the default gateway is from the outer group? group { # A bunch of ...
Malvineous's user avatar
  • 6,653
0 votes
0 answers
640 views

firewalld: forward traffic as a wireguard VPN gateway

I have setup a pi running Pi OS 11 as a VPN gateway for my local network using Wireguard & Nftables, that all works fine. However, I wish to switch over to firewalld to be compatible with docker ...
uhsl_m's user avatar
  • 121
0 votes
1 answer
1k views

How to specify gateway address for static IP in OpenWRT /etc/config/network

I see the following example for static IP config: config interface 'lan' option type 'bridge' option ifname 'eth0.1' option proto 'static' option netmask '255.255.255.0'...
Dims's user avatar
  • 3,225
3 votes
1 answer
306 views

Unexpected Route Selection

I'm running BGP using FRR on Debian Linux on several machines. My question might end up having to do with something in the FRR/BGP configuration but I'm trying to understand at a more basic level why ...
bgp's user avatar
  • 143
0 votes
1 answer
639 views

Is it possible to set different default gateways on a per-application basis?

Suppose I have a machine on a network with two different valid, working gateways. Let's call 10.0.0.1 the "normal" gateway to the internet as supplied by an ISP and 10.0.0.2 a standalone VPN ...
Landak's user avatar
  • 364
0 votes
0 answers
340 views

iptables Forwarding and port blocking

I have created the following Network in Virtual Box: Linux Internal PC with 1 Static IP: 10.10.10.2 Linux Gateway/Firewall with 2 Static IP's and 1 NAT: 10.10.10.3 | 11.11.11.2 | NAT Network Card ...
superuser's user avatar
1 vote
0 answers
109 views

Ubuntu server to act as API gateway

A service provider requires that all HTTPS calls to its API come from a IP whitelist, this can be a problem when you're hosted in cloud. So I would like to setup an existing Linux (Ubuntu) Server, ...
neurino's user avatar
  • 1,809
0 votes
1 answer
214 views

How does ping command work internally

I have Ubuntu 18.04 and two network interfaces (eth0 & wlan0) attached to it. So, I have effectively two LAN's (say LAN1 and LAN2) When I fire a ping command simply like ping followed by some IPv4/...
Network_starter's user avatar
0 votes
0 answers
1k views

How do I correctly set up a Linux VM as a gateway to route all traffic through a Wireguard VPN connection?

I have been banging my head against the wall for a couple of weeks trying to figure out how to set up a Linux VM on a Mac to act both as a NordVPN client and a gateway/router to forward all traffic ...
Daniel Rosenberg's user avatar
1 vote
0 answers
70 views

Jetson Nano Picocluster not accessible from network

I recently received a Picocluster with five Jetson Nano boards running MicroK8S. The cluster has a built in switch, which I know works as I can route my own network traffic through it just fine. All ...
Thijs van der Heijden's user avatar
1 vote
1 answer
1k views

How to fix routing for Wireguard VPN Gateway

I am desperately trying to get my Wireguard-VPN-Setup up and running as my Internet Connection has been switched to IPV6 (DS-lite). My Setup(raw): NetCup VPS (acting as IPv4 contact point for my ...
Andi's user avatar
  • 11
4 votes
1 answer
973 views

Port forwarding does not work using different gateway

Let me try to explain my home network setup: ┌────────────────────┐ │ Internet │ │ Public IP: 1.2.3.4 │ └──────────┬─────────┘ │ ...
Arfian Adam's user avatar
0 votes
1 answer
483 views

firewalld port forwarding breaks outbound traffic on that port

I'm using a Linux computer as a gateway/firewall between the wider network and a few servers. WAN -> [ 192.x | GATEWAY (Linux) | 10.x ] -> [ 10.0.0.100 | SERVER (Linux) ] This configuration ...
Will Haley's user avatar
0 votes
1 answer
78 views

Isn't the gateway statement supposed to work for a subnet?

I'm using the following /etc/network/interfaces configuration on a Debian machine: auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 10.0.0.5/24 gateway 10.0.0.1 auto eth1 ...
Arseni Mourzenko's user avatar
0 votes
0 answers
1k views

Network is unreachable, destination host unreachable

I give up at this point. I've been at this for hours. I've installed Gentoo onto VirtualBox and somehow, I don't know how, I broke my internet connection, and as it happens to be, I don't have dhcpcd ...
Shidouuu's user avatar
  • 101
1 vote
0 answers
33 views

Two networks of type C on one interface

i need some help configuring routes. This is the situation: I have one ISP who is providing me with two /27 networks. ISP_NET1 -> 40.40.40.32/27 (ISP GATEWAY 40.40.40.33) ISP_NET2 -> 40.40.50.32/...
Konstantin Hristov's user avatar
0 votes
1 answer
295 views

Whonix custom workstation: Is it possible to automaticly detect whonix gateway?

I use Whonix downloaded gateway and custom OS as Whonix workstation (in VirtualBox). To connect the workstation to the gateway I need to manually set Address, Mask and Gateway to 10.152.152.10, 255....
mooko's user avatar
  • 13
0 votes
1 answer
52 views

What is the best way to store gateway information on redhat system

I have herd 3 different ways to store gateway information on redhat system /etc/sysconfig/network /etc/sysconfig/static-routes /etc/sysconfig/network-scripts/route- files I am not aware of ...
Ragini Dahihande's user avatar
1 vote
0 answers
203 views

OpenVPN client as a gateway: Ping from server to client works, but gateway does'nt

I have a working OpenVPN server up and running on an OpenWRT router, and want to use an OpenVPN client as a gateway for some local machines that are connected to my router. What i have done / What ...
Jean-Michel Ruiz's user avatar
1 vote
1 answer
3k views

NetworkManager doesn't change the metric of the default gateway immediately

I'm using the commands found in one of the answers to this question : How can I make changes to the network routing metric permanently Before, I change the metric of the PPP0 device (3G UBlox modem) : ...
Aminos's user avatar
  • 141
3 votes
1 answer
1k views

Use the internet access of another network interface when the main one is down

I have an embedded system running Ubuntu 18.04 LTS that has a 3G modem and an Ethernet interface (eth0). Both of these interfaces have access to Internet. When the internet is unavailable on the ...
Aminos's user avatar
  • 141
0 votes
1 answer
95 views

Can I run a virtual machine or like a linux shell in a webapp/website or host it on a webserver?

I asked this question before and I am going to refine it so I can get a better answer. I am planning to make a java webapp and I want to add a feature to it which is what I need help with. I want to ...
shammakh2's user avatar
-1 votes
1 answer
31 views

How to use gateway with multiple lan

I try to create 3 LAN with different range on same gateway but I have a conflict in the dhcpd, can you help me to resolve my problem please ? subnet 192.168.42.0 netmask 255.255.255.0{ range 192....
rmarquet21's user avatar
0 votes
1 answer
55 views

Forwarding incoming ports to another private IP on my existing setup, IPTABLES

On my Debian 8 gateway: I want to forward incoming port 9000 to 192.168.4.10:3389 and incoming 9001 port to 192.168.4.11:3389. DHCP - WAN - eth0 -----> eth2 - LAN - 192.168.4.1 I am using rules.v4 ...
user611811's user avatar
1 vote
0 answers
1k views

How do I best setup Directory Services in a Linux-only environment (Ubuntu Server 20.04.01)?

SITUATION: I am setting up a Linux only environment, (two, maybe; SOHO and home system), where I am quite certain that their will be no Windows machines taking part in domain services, (short of ...
Top Rock Photography's user avatar
2 votes
1 answer
2k views

using netplan to create a gateway

I am trying to use netplan to set up a gateway. Here are some details of what I have set up: I'm running 20.04 I have 5 NICs (enp5s0, enp4s0f1, enp4s0f0, enp3s0f1, enp3s0f0) The enp4* and enp3* ...
jordan399's user avatar
0 votes
1 answer
811 views

OpenVPN Change ROUTE_GATEWAY after the IP of the gateway interface changed

The server had 192.168.56.9 in before and changed to 192.168.56.10, but the ROUTE_GATEWAY is still on the old IP: $ openvpn --show-gateway Sat Apr 18 13:18:54 2020 ROUTE_GATEWAY 192.168.56.9/255.255....
gies0r's user avatar
  • 131
1 vote
2 answers
946 views

SSH connection issue with failover gateway

I have a system which can be accessed via SSH and HTTP. The system have two interfaces (eth0, eth1), and is working with Slackware 14.1. eth0 : 192.168.1.99, LTE Ethernet Gateway/Modem eth1 : 172.16....
Alexandre Lavoie's user avatar
0 votes
1 answer
607 views

Setup routing on Ubuntu machine to ping between vlans

I am using KSZ8895MQ micrel which is a L2 managed switch with VLAN configuration connected to micro controller. OS is Lubuntu with DHCP server configured. I am able to get the different VLAN on the ...
sumit's user avatar
  • 1
3 votes
1 answer
5k views

How to have two different gateways on two different bridges in Proxmox VE

We have two different network interfaces eno1 and eno2 (eno3 and eno4 are not connected) and we have one bridge vmbr0 we want to add another bridge vmbr1 and we want to set two different gateways on ...
Erfan Azhdari's user avatar
8 votes
2 answers
10k views

How to blindly forward all packets from one interface to another?

I would like to forward all L3 packets received on eth0 to another interface lets call m0 (m0 is a custom interface tied into custom hardware with a distinct L2 framing mechanism) as well as the ...
gutelfuldead's user avatar
0 votes
0 answers
5k views

Can't ping default gateway on ubuntu 18.0

I can't ping my default gateway on ubuntu 18.04. Below are the output of my settings: ifconfig enp12s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 172.30.149.90 netmask ...
Json's user avatar
  • 1