Questions tagged [gateway]

A gateway is a network node used in telecommunications that connects two networks with different transmission protocols together.

Filter by
Sorted by
Tagged with
36 votes
9 answers
158k views

Nginx + php-fpm "504 Gateway Time-out" error with almost zero load (on a test-server)

After debugging for 6-hours - I am giving this up :| We have a nginx+php-fpm+mysql in LAN with almost 100 wordpress (created and used by different designers/developers all working on test wordpres ...
rahul286's user avatar
  • 1,657
31 votes
12 answers
119k views

How to find the gateway IP address in Linux

What command can you use to find the Gateway IP Address (ie. home router address) for eth0 in Linux? I need to get the IP address from a command line app to use in a shell script.
J. Polfer's user avatar
  • 579
26 votes
11 answers
20k views

Is anyone else using OpenBSD as a router in the enterprise? What hardware are you running it on? [closed]

We have an OpenBSD router at each of our locations, currently running on generic "homebrew" PC hardware in a 4U server case. Due to reliability concerns and space considerations we're looking at ...
Kamil Kisiel's user avatar
  • 12.3k
24 votes
3 answers
115k views

nginx : no live upstreams while connecting to upstream

502 bad gateway error displayed when switching between site pages and some times on home page but not for the first request on the home page it is only when another page redirect to it. and it happens ...
Mohammad Jolani's user avatar
19 votes
3 answers
32k views

Routing from docker containers using a different physical network interface and default gateway

Background Information I have a server with two network interfaces that is running Docker. Docker, like some virtualization tools, creates a Linux bridge interface called docker0. This interface is ...
user avatar
18 votes
7 answers
34k views

Windows 7, network connection with no default gateway: any way to change the "Unknown network" status?

I have a computer running Windows 7 Pro RTM. This computer has two network connections: A Wi-fi connection to the Internet (through a home router) which works just fine. An OpenVPN virtual network ...
Etienne Dechamps's user avatar
17 votes
7 answers
57k views

What's the difference between a gateway and a router?

Here we can see the router is 67.23.27.187(first hop), but the gateway is 67.23.27.1. What's the difference between a gateway and a router? How does my computer know the IP of the router when only the ...
user avatar
16 votes
5 answers
45k views

OpenVPN make redirect-gateway optional

I'm currently running an OpenVPN server for multiple clients. All traffic is directed through the VPN (it's set up as gateway; push "redirect-gateway def1"). So far, all is working fine. However, I'...
Tuinslak's user avatar
  • 1,475
15 votes
7 answers
80k views

What is an edge server / router / device?

What is an edge server? We see some references to them, but we never see a definition.
user avatar
13 votes
4 answers
5k views

Does a Gateway of a Subnet need to be a "real" Computer?

Is a Gateway always a real computer or just a "logic" entity, which can be on any address, except the broadcast IP?
Semo's user avatar
  • 271
13 votes
8 answers
38k views

How do i get the default gateway in LINUX given the destination?

I'm trying to get the default gateway, using the destination 0.0.0.0 i used this command: netstat -rn | grep 0.0.0.0 and it returns this list: Destination - Gateway - Genmask - Flags - ...
Suezy's user avatar
  • 233
13 votes
1 answer
3k views

AWS NAT vs AWS IGW vs AWS Router

As per this answer, router and gateway are same devices, in terms of functionality. In AWS world, we have internet gateway, NAT gateway and router Are these three not the same?
user1787812's user avatar
12 votes
0 answers
24k views

IPv6: Destination unreachable: Address unreachable [closed]

My server can't ping/reach any other outside. ping6 works for my local fe80::468... address as well as the 2a01:4f8..., but not for fe80::1! Errors/Troubles/Issues: ip neigh show fe80::1 dev eth0 ...
am1's user avatar
  • 231
10 votes
1 answer
56k views

How do I increase FastCGI read timeout to prevent 504 error on nginx?

I am running a file with considerable amount of coding. It takes approximately 55 seconds to process 500 users, but now I have to process 1000 users. The default timeout is 60 seconds, so I have to ...
rajankaneria's user avatar
9 votes
1 answer
3k views

OpenBSD route via different gateways which have same IP but on different interfaces

I have multiple VPN connections which use the same gateway IP (I do not have the ability to change this as it is out of my control). These VPNs all provide access to different networks, and the ...
bao7uo's user avatar
  • 1,714
8 votes
7 answers
5k views

How do you manage your Linux iptables configuration on a machine acting as a router?

I have a couple Linux machines that act as routers/firewalls for my networks and I have a script that runs all the iptables commands to set my rules. This seems to me like a really silly way to do it ...
sjbotha's user avatar
  • 305
8 votes
1 answer
1k views

A few websites are not reachable using Linux gateway

We have a LAN and a Linux Box is used as an Internet gateway. On this gateway, we have installed intranet mail server (sendmail), fetchmail, proxy and DNS. A leased line is connected to this gateway ...
Silkograph's user avatar
8 votes
1 answer
29k views

Use of Gateway Subnet on Azure

I'm trying to create a Point-to-Site(P2S) VPN on Microsoft Azure and in order to do so I created a VNet, created a couple of subnets under the VNAT and then I read that I need to create a "Gateway ...
7_R3X's user avatar
  • 219
7 votes
4 answers
14k views

Is it possible to find out what gateway is available on a network without prior knowledge?

A colleague and I both presumed this was a clear "no" but, admittedly, our networking knowledge is limited. Is it even possible that, without prior knowledge of the network configuration (i.e., no ...
Belmin Fernandez's user avatar
7 votes
1 answer
11k views

Route propagation from virtual private gateway in AWS

I stumbled upon understanding of the idea of the route propagation in AWS. It is said in the documentation: Route propagation allows a virtual private gateway to automatically propagate routes to the ...
Andremoniy's user avatar
7 votes
5 answers
2k views

Skype-SIP gateway

Does anyone know if you can setup a Skype-to-SIP gateway on your network? I tried Uplink, which works wonders, but only on Windows and with Skype on the same machine... It would be awesome if you ...
Ivan's user avatar
  • 3,172
7 votes
1 answer
5k views

Utilize two gateways on the same network same interface with load balancing

My setup is two ISPs on a single interface and single network. I can either set my default gateway to 192.168.0.1 or 192.168.1.250 and either work. Edit: Netmask (as noticed in the comment) is 255....
RushPL's user avatar
  • 169
6 votes
4 answers
13k views

Mysterious “fragmentation required” rejections from gateway VM

I've been troubleshooting a severe WAN speed issue. I fixed it, but for the benefit of others: Via WireShark, logging, and simplifying the config I narrowed it down to some strange behaviour from a ...
Deep Thought's user avatar
  • 1,628
6 votes
2 answers
4k views

IPv6 default gateway route disappear after reboot

I'm using Debian Wheezy on a dedicated server which uses IPv4 and IPv6 at the same time. ifconfig eth0 eth0 Link encap:Ethernet HWaddr 11:11:11:11:11:11 inet adr:90.0.0.1 Bcast:90....
Fox's user avatar
  • 1,062
6 votes
2 answers
29k views

OpenVPN connection works but no gateway is assigned

I try to setup OpenVPN on a VPS and I'm able to establish a connection to the server, but the gateway isn't assigned to the client. Here are my config files: client config: client dev tun proto udp ...
frozenbit's user avatar
6 votes
3 answers
2k views

OpenBSD default gateway outside subnet

My ISP offers IPv6 by default. However, my ISPs IPv6 setup appears to be a bit strange because the default IPv6 gateway is located outside of my servers subnet. Under linux it is possible to setup a ...
RNieaa's user avatar
  • 61
6 votes
1 answer
4k views

MSTSC + gateway crashes on auto reconnect

We have an application that is used as a RemoteApp. Users access the RemoteApp via gateway. We are experiencing crashes with users running MSTSC v.6.3 on Win64 (tested with Windows 7 and Windows 8) ...
Massuda's user avatar
  • 61
5 votes
3 answers
25k views

Does Default Gateway IP = Router IP?

I am trying to automate logging into the routers setup config page, and if I can get the default gateway IP I want to be sure that I will be able to use that ip to login to the routers config page (of ...
user55887's user avatar
  • 161
5 votes
3 answers
5k views

OpenBSD: Gateway outside subnet (works in Linux)

We need to set up an OpenBSD host to use a default gateway that's outside of it's subnet. This is all I need to do on Linux (not the actual IPs) to achieve it: ifconfig eth0 33.33.33.33/31 up route ...
kshade's user avatar
  • 65
5 votes
2 answers
5k views

IPv6 can I use a link local address as my default Gateway?

can I set the default GW to be the Link Local address of the next hop router. I understand this is a strange thing to do, I'm mostly wondering it is possible?
Arthur Ulfeldt's user avatar
5 votes
1 answer
13k views

Linux Gateway: One network card how to masquerade from one subnet to another

Good morning one and all. In our network we have a single Linux machine that has aliased IP addresses. Each of these IP addresses sit on a network controlled by a remote router to an ISP. We want ...
Alan Williamson's user avatar
5 votes
1 answer
29k views

Allow internet access for ec2 instances with private IP addresses inside a public subnet?

I have a public subnet(S1) with a route pointing to the internet gateway in its route table. Launched an ec2 instance(I1) inside S1 but did not allocate a public IP to it, thereby the instance only ...
Yasasvee's user avatar
5 votes
2 answers
17k views

What is the difference between a proxy server and a gateway server?

From Proxy server on Wikipedia: A proxy server may reside on the user's local computer, or at any point between the user's computer and destination servers on the Internet. A proxy server that passes ...
Tim's user avatar
  • 1,517
5 votes
1 answer
2k views

Can Remote Desktop Gateway be run from a standalone server?

I have a standalone (non-domain) Windows Server 2008 R2 that I need to securely access using RDP from the public internet. I want to access it using the standard 443 SSL port, since other ports are ...
Magnus's user avatar
  • 484
5 votes
1 answer
43k views

Specifying Gateway for VPN Connection

I'm not very familiar with networking really, so go easy on me! I need help enabling Split Tunnelling for client connections to my newly created VPN server. I've un-ticked the Use Default Gateway on ...
Danwise's user avatar
  • 53
5 votes
1 answer
2k views

Passing client MAC addresses to DHCP server over VPN

I'm tasked with implementing VPN access on a gateway. The LAN DHCP server is configured to assign the same IP address to a given MAC address. I would like to have this functionality for clients who ...
teflon19's user avatar
  • 181
5 votes
2 answers
6k views

"No route to host" until "ping" or "route"

I have two computers in one WiFi network: A - client B - server Sometimes (once in ten times) after B reboot I am unable to ssh from A to B: $ ssh 192.168.201.128 ssh: connect to host 192.168.201....
user2449761's user avatar
5 votes
1 answer
7k views

Setting up site-to-site IPsec in bridged mode

I'd like to set up site-to-site IPsec in bridged mode: that is, where the hosts in each site don't need to be modified to use the IPsec gateway, but the IPsec gateway acts as a pseudowire. My plan to ...
SRobertJames's user avatar
5 votes
1 answer
2k views

ping request not forwarded in one direction

Edit: I solved my issue just as I was finishing this insanely long post. I had simply not enable ping reply in my windows firewall which is why I could not ping a computer on network 0 from network 1 ...
Peter Lieber's user avatar
4 votes
7 answers
1k views

multiple internet connection at office

We have been using two separate Internet connections in our office. People will share internet connection by setting their gateways to either of these. Gateway is one of our local server through ...
Venu's user avatar
  • 215
4 votes
3 answers
40k views

Routing decision when there are two default gateways on windows

My windows machine has two network cards, both have default gateways. How does windows determine which gateway should it access when sending a packet to a remote endpoint? More precisely, here's my ...
user avatar
4 votes
4 answers
2k views

Stress test speed on a gateway?

I'm interested in stress testing my gateway server but am lost on how. Most of the stress testing applications I've seen only see how much load an app like Apache can handle, but not this. ...
TheLQ's user avatar
  • 993
4 votes
2 answers
22k views

Set gateway per interface in DNSMasq

I have dhcp set up using DNSMasq, which looks like this: dhcp-range=interface:eth0,10.1.0.50,10.1.0.250,255.255.255.0 dhcp-range=interface:eth1,10.1.20.50,10.1.20.250,255.255.255.0 What I need to be ...
Jerbot's user avatar
  • 394
4 votes
4 answers
3k views

transparent git-svn gateway

Currently we have an subversion repository with the following layout: /trunc /group1 /proj1 /proj2 group2 /proj3 /etc.. /tags /group1 /proj1 /proj2 group2 /proj3 /etc.. /branch /anything ...
azatoth's user avatar
  • 143
4 votes
1 answer
7k views

What is the purpose of netcat's "-w timeout" option when ssh tunneling?

I am in the exact same situation as the person who posted another question, I am trying to tunnel ssh connections through a gateway server instead of having to ssh into the gateway and manually ssh ...
jrdioko's user avatar
  • 577
4 votes
1 answer
14k views

How can I use iptables to forward all traffic to a certain website?

I have a Radius server doing Mac Auth on VLANs. If the MAC address isn't in the allowed table, the user is put into a separate VLAN. What I want to do on that separate VLAN, is have my Debian server ...
John's user avatar
  • 41
4 votes
1 answer
2k views

Unexpected IPv6 client address from Azure Application Gateway's health probe

I have the following setup in Azure: Public IP address (IPv4) Azure Application Gateway (Standard V2) V-NET with one subnet. AGW deployed to that subnet with 'Add IPv6 address space' checkbox ...
Anton Sizikov's user avatar
4 votes
1 answer
7k views

load balancing multiple gateway using route and iptables

under linux, how do I load balancing multiple gateway by using route, note that I have one input interface lets say eth0, and one output interface lets say eth1. eth1 can connect to multiple IP ...
uray's user avatar
  • 255
4 votes
1 answer
5k views

htaccess redirect all to one file (except from localhost)

I want to redirect all traffic to a single .php gateway file, this file will do authentication and use ajax to pull the file that was requested. So I need a .htaccess with flow like this: if ...
Shauno's user avatar
  • 165
4 votes
3 answers
2k views

two gateways / two providers with different ips

I want to route packets coming in on eth0 back over eth0 and the ones coming in to eth1 back over eth1. I don't care which gateway is used for outgoing connections. If i just enter two gateways in /...
Jure1873's user avatar
  • 3,732

1
2 3 4 5
13