Questions tagged [gateway]
The gateway tag has no usage guidance.
113
questions
2
votes
1
answer
17
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 ...
0
votes
0
answers
14
views
Linux network forcing named service use different gateway
I have Centos 5.4 linux server running bind 9.3.6.
One week ago it began not resolving dns , long story short for some reason it is not resolving when it is on the net via cellular gateway, however ...
0
votes
0
answers
28
views
Isolated network chain for multiple KVM guests to access the internet
I have more or less 3 VMs (with KVM) that must be "chained" by 2 isolated connections like that :
(NAT/internet access) --> |VM vm_A| -- (isolated network in_1) --> |VM vm_B| -- (...
0
votes
0
answers
16
views
how to set default gateway after ifconfig. part 2
I have an android emulator on bridge and
the network is set up via "ifconfig eth1 192.168.41.100"
The bridge is 192.168.41/24 and gateway is 192.168.41.1. It works well (it is essentially a ...
0
votes
1
answer
51
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 ...
0
votes
0
answers
20
views
VoIP without HTTP?
I want to be able to make phone calls to ordinary telephone phone numbers from my (Unix/Linux) laptop without using a web browser (or other proprietary software such as "Skype for Desktop"). ...
0
votes
0
answers
138
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
...
1
vote
0
answers
26
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, ...
0
votes
1
answer
55
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/...
0
votes
0
answers
44
views
OpenVPN and IPTABLES - How to assign lan (vpn) gateway to clients
I am trying to set up my openvpn network but I have a problem.
My LAN configuration is as follows:
main router Zyxel 192.168.1.1 acting as gateway (vdsl connection) and access point;
openwrt router ...
0
votes
0
answers
395
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 ...
1
vote
0
answers
28
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 ...
1
vote
0
answers
187
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 ...
4
votes
1
answer
342
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 │
└──────────┬─────────┘
│
...
0
votes
1
answer
132
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 ...
0
votes
1
answer
25
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
...
0
votes
0
answers
611
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 ...
1
vote
0
answers
30
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/...
0
votes
1
answer
110
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....
0
votes
1
answer
21
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 ...
1
vote
0
answers
117
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 ...
1
vote
1
answer
1k
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) :
...
2
votes
1
answer
371
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 ...
0
votes
1
answer
45
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 ...
-1
votes
1
answer
16
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....
0
votes
1
answer
33
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 ...
0
votes
0
answers
541
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 ...
2
votes
1
answer
692
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* ...
0
votes
1
answer
609
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....
1
vote
2
answers
619
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....
0
votes
1
answer
497
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 ...
2
votes
1
answer
2k
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 ...
8
votes
2
answers
4k
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 ...
0
votes
0
answers
3k
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 ...
2
votes
2
answers
402
views
debian: cannot ping beyond the router
Hello fellow stackers,
I'm not sure I planned my network configuration in a perfect manner.
I have a home network topography like this:
modem/router <-> debian router <-> LAN.
I need to ...
1
vote
1
answer
2k
views
How to prevent an unwanted default gateway to be added during reboot
I’m using a Beaglebone Black running a webserver on a Debian system. The BBB is working as a DHCP + DNS (using dnsmasq) in a local network (192.168.5.xyz) with no direct internet access. I can easily ...
10
votes
1
answer
8k
views
Why does Ubuntu resolve the name `_gateway` to the default gateway instead of `gateway`?
When I run the route command, the default gateway resolves to _gateway. I can ping _gateway, which resolves to my default-gateway and replies as such.
Why does Ubuntu 18.04 prepend _ to gateway?
0
votes
1
answer
1k
views
How to Combine a Bridge with VLAN over a Bonding and Two Default Gateways
I have a Linux server with three NIC that are connected to a switch (one NIC is the management, two NIC form a LACP bonding). In addition I need to use a VLAN (167), because the switch is configured ...
0
votes
1
answer
587
views
/etc/network/interfaces - multiple gateways 3 NICs
Good Evening,
Is this a correct network configuration? All of the routing takes place on my switches and firewall. Each server is able to ping the other on each subnet. Is there an issue with using ...
3
votes
1
answer
5k
views
Two default gateways with different metric on CentOS 7 box - how?
I'm begging for help here. Been spending hours researching how to solve what seemed like a simple problem:
On a CentOS 7.6 host with two network interfaces on two different networks, how to have two ...
0
votes
0
answers
63
views
Get OpenVPN gateway address
After connecting to a SSL VPN server, it assigns me an IP address. And it also gives me a gateway in the same network, I can use to connect to other networks reachable through the VPN tunnel.
For ...
1
vote
1
answer
759
views
DHCP-PD on wan side with Stateful DHCPv6 assigned globally routable ips on lan side. Need to dynamically configure DHCPv6 on lan side
Context
I'm currently neck deep in building an internet gateway out of an old fanless, headless Intel Atom/ITX computer I had laying around. These are my requirements:
have an ipv4 and ipv6 ip ...
2
votes
1
answer
792
views
Two default routes with same metric
Using NetworkManager on CentOS 7.6 I was able to create two default routes with same metric:
# nmcli connection eth0 modify ipv4.route-metric 10
# nmcli connection eth1 modify ipv4.route-metric 10
# ...
0
votes
2
answers
127
views
Linux gateway with one interface and aliases
Hello I am trying to use a linux machine as gateway for other machines in the same network using iptables, these are the configurations related to both machines:
Machine A (This is the one I want to ...
1
vote
0
answers
30
views
how to route Traffic from specific port through specific NIC / Gateway?
I tried a few solutions, like binding and iptables.
But nothing worked for me.
What i want to do is using some applications like Firefox with wlan0 nic for example. and eth0 for everything else.
I ...
2
votes
1
answer
197
views
Finding the router ip address
I have compiled a little LFS system and I'm currently trying to get Internet connectivity up and running. I have managed to get it working manually, but this required me to know the router ip address. ...
1
vote
0
answers
284
views
Gateway failover using netplan
I'm having trouble setting up 2 IP address so that if one fails it will use the secondary IP address. I've setup netplan as shown in the picture.
I can connect via ssh using both IP address, I test ...
1
vote
3
answers
255
views
Define network interface as the default gw independently of IP
I know how to assign a default gw to an interface with an IP
ip route add default via <host> dev <dev>
# e.g.
ip route add default via 192.168.0.101 dev eth0
The problem is that the IP ...
0
votes
0
answers
280
views
How to determine gateway address in a shared connection?
Suppose you have two computers, A and B, both running Ubuntu 16.04.
Then you connect them with an ethernet cable and share the connection from A to B, using network manager with the option "Shared ...
0
votes
1
answer
119
views
How can I find out what my default gateway should be?
I have a linux (RHEL 7) server on a network and the default gateway is set incorrectly. How can I find out what the default gateway should be, without asking a Network Administrator?