Questions tagged [gateway]
A gateway is a network point that acts as an entry way to another network.
124
questions
0
votes
1
answer
120
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 ...
0
votes
0
answers
34
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:...
0
votes
0
answers
22
views
Bridging connection between eth0 and wlan0
I'm trying to bridge eth0 and wlan0 to pass traffic from a device connected via ethernet. I understand there's a lot of complications with trying to add wlan's to a bridge.
Ideally I'd like to setup ...
0
votes
0
answers
68
views
My routing table uses the wrong gateway address
The problem is that my routing table is wrong. In my routing table the gateway is '_gateway' instead of 10.0.0.1.
The ethernet is working but the wifi is not.
I tried sudo route add default gw 10.0.0....
1
vote
1
answer
289
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 ...
0
votes
0
answers
72
views
No internet Ubuntu Ubuntu 20.04.4 LTS
I have a HP Microserver with Ubuntu 20.04.4 LTS that I use to run Plex. All of a sudden, there is no internet access from/to this server. It used to work just fine.
The only change is that I have had ...
0
votes
0
answers
56
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 ...
1
vote
1
answer
5k
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 ...
0
votes
0
answers
133
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 --...
0
votes
1
answer
1k
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 ...
0
votes
0
answers
222
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 ...
0
votes
0
answers
43
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 ...
0
votes
0
answers
273
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 ...
0
votes
0
answers
731
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 ...
2
votes
1
answer
17k
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 - ...
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 ...
0
votes
1
answer
69
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 ...
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 :
...
1
vote
1
answer
4k
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 ...
0
votes
0
answers
31
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-...
0
votes
1
answer
758
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 ...
0
votes
0
answers
935
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 ...
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... ...
0
votes
1
answer
596
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:
...
1
vote
0
answers
94
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 (...
0
votes
0
answers
59
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 ...
3
votes
1
answer
46k
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 ...
1
vote
0
answers
379
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 (...
0
votes
0
answers
63
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 ...
1
vote
0
answers
351
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 ...
0
votes
1
answer
902
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 ...
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 ...
2
votes
0
answers
122
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 ...
0
votes
1
answer
330
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 ...
3
votes
0
answers
409
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 ...
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 ...
1
vote
1
answer
109
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 ...
0
votes
1
answer
57
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 ...
0
votes
1
answer
745
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 ...
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-...
0
votes
1
answer
555
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:...
10
votes
1
answer
11k
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 ...
1
vote
2
answers
12k
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 ...
1
vote
0
answers
506
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 ...
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 ...
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 ...
0
votes
0
answers
530
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?
$ ...
1
vote
1
answer
91
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 ...
1
vote
0
answers
366
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 ...
0
votes
1
answer
883
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 ...