Questions tagged [gateway]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
71 views

Ubuntu as VPN gateway for local LAN

I'm running Ubuntu 23.10. On it I've established a VPN connection to my remote HQ with an route set in .ovpn as follows: route 192.168.1.0 255.255.255.0 From Ubuntu itself, I can access and ping ...
trash's user avatar
  • 11
-3 votes
1 answer
123 views

Router changing default gateway when creating a DNS

I'm using Ubuntu 20.04, and my router is TP-Link AXE-5400. I'm new to Ubuntu and Linux for that matter, but I managed to make some VM via Proxmox. Cloud server, gaming server, Plex and so on. I was ...
F.Hasangjekaj's user avatar
0 votes
1 answer
264 views

Ubuntu Server cannot ping gateway or resolve names

I'm dealing with a very strange networking issue. I'm running Ubuntu Server 22.04 and every client can get to it and the internet on my home network. However, the server cannot even ping the gateway (...
Lee Bowie's user avatar
0 votes
0 answers
19 views

Unable to access to internet on ubuntu machine connected to windows machine using Ethernet

I have connected my rasberry pi running Ubuntu 20.04 using Ethernet to my Windows laptop. I have set static IP and subnet mask of Ethernet port on Windows laptop as follows: I have enabled Internet ...
RajS's user avatar
  • 163
1 vote
1 answer
1k views

Ubuntu 20.04, Cannot ping gateway

I have a fresh install of Ubuntu 20.04. Connected to ethernet getting dhcp setting automatic from modem. Gateway 192.168.2.1 Ubuntu 192.168.2.100 Home device 192.168.2.21 Home device is able to ...
Roydabudboy's user avatar
0 votes
0 answers
109 views

iptables & ip_forward issue

I am having a very annoying issue and I don't know what's wrong. I also feel like I am very close to having it working, so there must be something obvious I'm doing wrong. I am trying to connect to my ...
espresso fan's user avatar
0 votes
0 answers
273 views

How do I create a VPN Gateway on my local network for other devices to use?

I am a novice user, but here is what I am trying to accomplish: Create a server on 192.168.0.200 connected to NordVPN account (done) Point other devices, especially 'dumb' ones with no VPN clients ...
espresso fan's user avatar
0 votes
0 answers
186 views

Ignition gateway failed to start

STATUS | wrapper | 2023/06/22 10:11:41 | --> Wrapper Started as Daemon STATUS | wrapper | 2023/06/22 10:11:41 | Java Service Wrapper Standard Edition 64-bit 3.5.42 STATUS | wrapper | 2023/06/22 ...
imran mehdi's user avatar
0 votes
1 answer
483 views

Why can't I access internet via vlan in private network?

As the title suggests, I'm having issues setting up the networking so that a server can access the internet. Bear with me while I lay out the infrastructure. All 3 servers are hosted by Hetzner. The ...
stewie's user avatar
  • 101
0 votes
0 answers
59 views

i want to use my computer as gateway, all traffic must use vpn

this is my configuration i got 2 computers with ubuntu 22 computer1 with internet and vpn: eth0 192.168.10.100 eth1 192.168.20.100 tun0 10.33.12.19 now computer2 must use internet by vpn of computer1:...
malf's user avatar
  • 1
1 vote
1 answer
617 views

Connecting a ubuntu to the internet via one interface and to an internal network via another

I have a computer running Ubuntu 20.04 LTS with two interfaces. On interface is connected to an router which is connected to the internet and the other interface is connected to an internal gateway ...
Braininfection's user avatar
0 votes
0 answers
97 views

How could I have an Ubuntu public sever, and a security gateway for my private LAN, using only one public IP address?

I've moved to a rural area with a small telecom company that has just started offering fiber. They say I can get a fiber modem/gateway/router with Wi-Fi AP on a private LAN. But if I get a static ...
Hap's user avatar
  • 1
3 votes
1 answer
9k views

Ubuntu 22.04: Netplan (static ip) - Unable to ping gateway or internet IP's, local network devices ping fine

Situation I have VMWare ESXI running with an Ubuntu Server 22.04 instance. This instance runs PowerDNS for my local network and needs a static IP. My local network uses class A-type IP addresses, in ...
Harold's user avatar
  • 159
0 votes
0 answers
177 views

Start Jupyter notebook from Ubuntu bash

I'm running a Jupyter Notebook locally on my Ubuntu server. It uses a Datamechanics Gateway. Starting the bash manually works, using jupyter notebook my_notebook.ipynb --gateway-url=$GATEWAY --...
PeterRegensburg's user avatar
0 votes
1 answer
2k 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 ...
Arnizzle's user avatar
0 votes
0 answers
245 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 ...
Elk Delf's user avatar
0 votes
0 answers
51 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 ...
John Telek's user avatar
0 votes
0 answers
379 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 ...
Abhijith H R's user avatar
1 vote
0 answers
1k 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 ...
Oscar M's user avatar
  • 11
3 votes
1 answer
26k 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 - ...
lion's user avatar
  • 91
0 votes
0 answers
1k 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 ...
Daniel Katz's user avatar
0 votes
1 answer
90 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 ...
Joachim Bsh's user avatar
0 votes
1 answer
4k 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 : ...
clorant's user avatar
1 vote
1 answer
6k 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 ...
ecofriendlygeek's user avatar
0 votes
0 answers
39 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-...
Adam's user avatar
  • 1,101
0 votes
1 answer
1k 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 ...
catalin's user avatar
  • 141
0 votes
0 answers
1k 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 ...
rst-2cv's 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... ...
David's user avatar
  • 11
0 votes
1 answer
909 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: ...
EmbALL's user avatar
  • 1
1 vote
0 answers
131 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 (...
QCIHDTM's user avatar
  • 11
0 votes
0 answers
64 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 ...
Mimi's user avatar
  • 1
3 votes
1 answer
54k 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 ...
Stefano's user avatar
  • 31
1 vote
0 answers
406 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 (...
ebsf's user avatar
  • 499
0 votes
0 answers
68 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 ...
Maurice's user avatar
1 vote
0 answers
472 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 ...
Alex's user avatar
  • 11
0 votes
1 answer
1k 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 ...
E Tab's user avatar
  • 17
0 votes
0 answers
2k 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 ...
dark_n8's user avatar
2 votes
0 answers
126 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 ...
Jerry Marti's user avatar
0 votes
1 answer
456 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 ...
Nonot's user avatar
  • 1
3 votes
0 answers
450 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 ...
Richard Dinel's user avatar
0 votes
1 answer
6k 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 ...
Amir Dallal's user avatar
1 vote
1 answer
115 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 ...
Dhruv's user avatar
  • 11
0 votes
1 answer
67 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 ...
lorelou's user avatar
  • 11
0 votes
1 answer
940 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 ...
Bjørn Bouet Smith's user avatar
3 votes
1 answer
13k 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-...
Davide Merlitti's user avatar
0 votes
1 answer
704 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:...
Redbob's user avatar
  • 1,596
10 votes
1 answer
13k 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 ...
Aaron Murray's user avatar
1 vote
2 answers
13k 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 ...
Oscar Soriano's user avatar
1 vote
0 answers
522 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 ...
diy_nunez's 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 ...
Sss's user avatar
  • 1,022