Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [gateway]

A gateway is a network point that acts as an entry way to another network.

Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

Ubuntu 20.04 multiple interfaces. How to select default interface

I'm trying to set up Suricata on my Ubuntu box. I have a dedicated interface for it (enx00e04c681037). For some reason Ubuntu keeps trying to use this interface for all traffic. I found this out when ...
user avatar
0 votes
0 answers
33 views

Error 502 Bad Gateway while my CPU and RAM are at 50%

For a while, my server has been returning 502 Bad Gateway errors randomly during the day. Sometimes we have the same traffic and everything is fine, other times it causes 502 errors. I have a web ...
user avatar
0 votes
0 answers
21 views

Voip Server / Gateway on Ubuntu for mobile Calls routed to Voip Client

Moin moin, (reframed the Question) What possibilities are there to accept or dial a (mobile) phone call, incoming and outgoing, directly with a VoiceOver IP server/gateway, using a compatibe 5G / 4G / ...
user avatar
  • 1
0 votes
0 answers
32 views

No sound on fresh install Ubuntu 20.04 LTS

I have a fresh install of Ubuntu 20.04 LTS on Walmart's Gateway GWTC116 laptop. Originally Wi-Fi did not work, but I installed a driver. At first, the card was displayed as "Dummy Output" in ...
user avatar
0 votes
0 answers
30 views

Wifi issues after latest update to 21.04

I have an issue with 21.04 in that I cannot ping the gateway although netstat -nr shows the right config and this was after I upgraded last time. I can see a valid IP address for wlo0 and when I boot ...
user avatar
0 votes
0 answers
43 views

How to have a same static IP address in all the networks

Imagine, I have an application at office which is bound to use 10.x.x.x IP address once it is installed. The gateway of this address will be 10.x.x.1 and this IP is set as static. So, when I move the ...
user avatar
0 votes
0 answers
21 views

share internet , connecting to vpn

I installed a vpn import the vpn settings (protonvpn) through the ubuntu vpn panel I configured username and password. vpn works normally on ubuntu machine. which works as a gateway to another machine ...
user avatar
0 votes
0 answers
71 views

Netplan with Two Gateway Subnets on Same Port

Trying to configure an Ubuntu 18.04 machine with two IP addresses on different subnets on one ethernet port, each with a gateway so port forwarding works from different routers. This was based on the ...
user avatar
0 votes
0 answers
40 views

Ubuntu as Gateway and Firewall doesn't NAT the router

I want to configure a network like this: Modem (local ip: 192.168.178.1) -> PC Ubuntu Server 20.04 with 2 LAN as Firewall and Gateway -> Router (local ip: 192.168.178.6) -> Switch->... ...
user avatar
  • 1
2 votes
1 answer
4k views

Ubuntu Server Netplan - conflicting default route declarations for IPv4 - 4 different /24s on each port

I have a server with 2 network cards of 4 ports, but only one of them is used. Each port is connected to a L2 switch and configured for a different VLAN with 1 usable IP from a different /24 subnet - ...
user avatar
  • 71
0 votes
0 answers
437 views

Eth0 and Wifi both need the same gateway, same IPs

I have a laptop at home that I want to use as a server (Ubuntu 20.04.3 LTS). I want the IP to stay the same for both eth0 and wlan0 (reason: so that port forwarding which I have set up on the router ...
user avatar
0 votes
0 answers
118 views

pp2p clients cannot connect to VPN via Ubuntu Server 20.04 gateway, even with disabled firewall

Consider a simple configuration: local network connected to Internet via server A with Ubuntu Server 20.04, acting as a gateway/firewall/dhcp server. Now, some internal hosts (say, B) need to connect ...
user avatar
  • 301
0 votes
0 answers
63 views

What is the correct way to automatically configure promisc mode in Ubuntu 18.04? (Vagrant)

To configure a VPN gateway in Ubuntu 16.04 (Vagrant) I used to use /etc/rc.local to enable promisc mode, but this is no longer an option in Ubuntu 18.04: /sbin/ifconfig {{ vpn_nic }} up ...
user avatar
0 votes
1 answer
48 views

Bad internet access after defining fix ethernet IP-address

I have assigned a fix IP address to my ethernet connection for some project. Since then, my Wifi is extremely slow and sometimes I can't even access webpages. As I'm not specialist into this, so I ...
user avatar
0 votes
1 answer
3k views

Ubuntu 20.04 gateway, iptables NAT and port forwarding

i am in a maze, i try in vain to setup the rules to be able to acces from internet my internal web server (192.168.12.10). at home, i have an Ubuntu 20.04 gateway (192.168.12.1) with two interfaces : ...
user avatar
0 votes
1 answer
931 views

IP forwarding does not work

I have 2 Ubuntu systems , both have Ubuntu 20.04, one has server (5.4.0-42-generic) , the other has desktop (5.4.0-58-generic). I can get ip forwarding working on one system which has the server . But ...
user avatar
0 votes
0 answers
26 views

Why is my LAN and DHCP conf "not a private class subnet"?

I am maintaining a gateway server with a small LAN & wifi which acts as a firewall, backup server, broadband gateway, media server etc. It was getting overcomplicated with Bind9 so I just de-...
user avatar
  • 1,015
0 votes
1 answer
459 views

different gateway subnet on ubuntu makes network unreachable

Edit: The VM was moved from one hyper-v to another. In the first hyper-v it had a different IP, Mask and Gateway, and it worked. Then I moved it to the new hyper-v and changed the network details. I ...
user avatar
  • 131
0 votes
0 answers
504 views

Default route being added randomly while NIC is already up, post-up action doesn't help

I have an Ubuntu 16.04 machine that I'm using as a temporary router while I fix some issues with my normal router. The network looks like this: Thus, the normal flow of traffic out to the internet ...
user avatar
  • 101
1 vote
0 answers
18 views

Install Jasmin Gateway on Ubuntu Server [duplicate]

I am trying to install Jasmin Gateway on Ubuntu Server 16.04 LTS, but I have the error below: root@ds234:/home# sudo apt-get install python-jasmin Reading package lists... ...
user avatar
  • 11
0 votes
1 answer
246 views

Netplan bonding 2 gateways (2 ISP)

My office is in an area where wired internet connection is poor and unstable so I'm trying to bonding 2 ISP. I have 2 modems connected to two different phisical interfaces on my Ubuntu 18 server: ...
user avatar
  • 1
1 vote
0 answers
64 views

Linux gateway is forwarding traffic to its own gateway when tunnel is down

I have a box (192.168.1.2) that connects to a VPN creating a tunnel. This box has a 192.168.1.1 default gateway which is my router's internal address. The rest of my network has 192.168.1.2 (...
user avatar
  • 11
0 votes
0 answers
58 views

Malware lab without virtual machines (Lubuntu as server/gateway)

I would like to set up a malware lab without virtual machines. On one laptop I have Windows 10, on the other Lubuntu, which will be used as a gateway/server. On the latter, I want an ethernet ...
user avatar
  • 1
3 votes
1 answer
34k views

How to set default gateway in Ubuntu Server 18.04 with netplan

I have a single network interface on this server named enp2s0 This interface had a static address 192.168.2.xxx with gateway 192.168.2.1 Now I changed the static address in yaml file to 192.168.1.xxx ...
user avatar
  • 31
1 vote
0 answers
246 views

Need to set default route to upstream DHCP interface on Ubuntu Server 18.04 LTS

I'm building an edge router using Ubuntu Server 18.04.03 LTS and need to configure the routing table to define the default route as being the upstream / WAN interface, which gets its IP address and (...
user avatar
  • 197
0 votes
0 answers
45 views

Access service via url:port from outside

I have the following network setup: Gateway/proxy and firewall box with Firehol installed 10.xx.xx.xx - Ubuntu internal server behind the gateway 192.xx.xx.xx - Ubuntu All traffic is routed ...
user avatar
1 vote
0 answers
200 views

Networking question ip routing

Let me start by saying I am a complete novice with very little networking knowledge. I have set up a VPN via a guide and everything is working fine, however, I would like for the IP routing or ...
user avatar
  • 11
0 votes
1 answer
389 views

Directory 'mc/etc' does not exist

I am try to configure gateway. I am follow step 4 of this https://trueconf.com/blog/knowledge-base/configure-xen-hypervisor-ubuntu-server-14-4-05.html When I open to edit mc/etc/sysctl.conf file I ...
user avatar
  • 7
0 votes
0 answers
1k views

Cannot ping past gateway

My wifi is connected but I cannot access the Internet irrespective of the network to which I connect. I can ping the gateway but cannot ping 8.8.8.8 (Google's DNS) which shows: Destination Net ...
user avatar
2 votes
0 answers
118 views

Dell Edge Gateway 5100 - Ubuntu Core 16.04 - Fontconfig error

I have been developing a Snappy application on the Dell Gateway for the last year. I am nearing the end of development and I am experience a fault that I need some help with. If needed, can this be ...
user avatar
0 votes
1 answer
148 views

Automatic route deleting in a specific network

I'm on Ubuntu 18.04 and I try to learn more on netplan. When I'm in school's network I need to access to the LAN but I don't want my internet traffic goes by their gateway. I can connect to network ...
user avatar
  • 1
3 votes
0 answers
349 views

how to keep local default gateway when connecting witn VPN

i used VPN to connect to my Windows server 2016 at our office. vpn pptp and Remina. everything works very well. but when i disconnect, the default gateway is changes and do not come back to local ...
user avatar
0 votes
1 answer
5k views

How to bridge two interfaces with netplan

I want to setup a gateway on an Ubuntu 18.04 machine with 2 eth ports - ETH1 - WAN connection, connected to my corporate network with DHCP ETH0 - LAN connection, connected to my laptop statically I ...
user avatar
1 vote
1 answer
108 views

Dell Gateway 5000 with Ubuntu Core 16 doesn't identify sim card inserted in the slot

I have Dell Gateway 5000 with Ubuntu Core 16 installed in it. I am inserting a sim card in the slot, but the Gateway doesn't identify it. The led indicating the mobile network is off. The sim card is ...
user avatar
  • 11
0 votes
1 answer
48 views

Ubuntu 16.04 - Wi-fi , IP is on a network different than my gateway

I have a partitioned Lenovo pc. One partition with Ubuntu desktop 16.04, one with Windows 10. Windows has internet connection, Ubuntu does not. It is on a different network. I tried gathering some ...
user avatar
  • 11
0 votes
1 answer
552 views

two machines direct link + connection through switch

This is crosspost from Super Users, since it might attract more people here. I have been trying for the last couple of days to get a setup like the one below working. I have a server Ubuntu 16.04 ...
user avatar
3 votes
1 answer
12k views

Networking problem on Ubuntu 18.04: no gateway

After a fresh installation of Ubuntu 18.04 LTS I have configured netplan to use a static IP address by following the instructions available online here: https://www.tecmint.com/ifconfig-vs-ip-command-...
user avatar
0 votes
1 answer
421 views

Cannot properly configure a gateway on Ubuntu 16.04

I'm trying to make a gateway using Ubuntu 16.04, my server has the following nics: enp4s0 Link encap:Ethernet HWaddr 00:15:c5:f6:c0:36 inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:...
user avatar
  • 1,473
10 votes
1 answer
9k views

How do I stop netplan from binding a default gateway on every interface

I have a fresh install of ubuntu server 17.10, however the problem may affect previous versions, but this is the first time I have encountered this situation. The server is running 2 separate network ...
user avatar
1 vote
2 answers
10k views

Ubuntu server 16.04 to 2 gateway at same time

I cant find a working guide to make work the following scenario: Need to configure a server to be capable of working with 2 routers at same time. Its a virtual machine. Network 1 192.168.1.0/24 ...
user avatar
1 vote
0 answers
466 views

Ubuntu 16.04 Multiple Network Adapters, Same Network

I need to configure a gateway PC working with Ubuntu 16.04 so that multiple LAN adapters (eth0,eht1,wlan0) communicate within one same network addressing scheme. How can such a configuration be made ...
user avatar
2 votes
1 answer
1k views

Can't install gns3,Err 502 bad gateway

I have Ubuntu 17.04 and I'm trying to install gns3 by using these commands: sudo add-apt-repository ppa:gns3/ppa Output: PPA for GNS3 and Supporting Packages. Please see http://www.gns3.com for ...
user avatar
  • 954
1 vote
0 answers
2k views

How do I setup multiple static IP's on multiple NIC's with one gateway?

I'm using Ubuntu 16.04.3 LTS. Currently I have this in /etc/network/interfaces auto lo iface lo inet loopback auto eno1 inet static address 198.167.16.164 netmask 255.255.240.0 gateway ...
user avatar
0 votes
0 answers
440 views

Why there is a 0.0.0.0 gateway for eth0 if I only add one in the interface config?

In my interface config file, I only add one route for the 192.168.2.0, but when the machine is running, there is a 0.0.0.0 gateway for 192.168.2.0. How to fix this only using interface config? $ ...
user avatar
  • 313
1 vote
1 answer
88 views

Gateway Problem

I'm facing this strange problem. I've a branch location connected with 2 ISPs on MPLS (See attached Image). The location have mixed OS PCs (Windows & Ubuntu, major chunk is of Ubuntu) Whenever ...
user avatar
1 vote
0 answers
350 views

Unable to use Ubuntu 17.4 as internet gateway

I am trying to setup an Ubuntu Desktop 17.04 virtual machine to act as a router/gateway for other VMs I have on an isolated (non internet connected) network. I followed directions from the following ...
user avatar
0 votes
1 answer
879 views

Ubuntu server 16.04 static and private ip [closed]

I have tried a few different combinations in /etc/network/interfaces I'm wanting to add a public ip and a private to my server but it's not wanting to accept both iface eno1 inet static address ...
user avatar
  • 1
10 votes
2 answers
14k views

Share my VPN connection with other LAN users

I have a PC with one physical LAN adapter connecting to a VPN server. Is there a way i can setup a (virtual) gateway interface on that same LAN adapter in a way so the other devices on my network can ...
user avatar
  • 103
0 votes
1 answer
367 views

Ubuntu as Gateway - Client PC no internet

Ubuntu configurations Ifconfig ens33 Link encap:Ethernet HWaddr 00:0c:29:0e:15:94 inet addr:192.168.1.129 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::2d58:...
user avatar
  • 1
1 vote
0 answers
14 views

Gateways of interfaces NOT active

I 've configured two static interfaces which are active. For each interface I have configured a gateway. However these gateways do not show up in the active configuration (Webmin) or cli-command route....
user avatar
  • 11