The tag has no usage guidance.

learn more… | top users | synonyms

22
votes
8answers
98k 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 ...
2
votes
2answers
15k 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 ...
2
votes
1answer
5k views

How to configure routing between Azure virtual networks?

I'm designing an Azure environment which will contain multiple virtual networks, and a requirement is for all networks to be connected; a VM in any network should be able to talk to another VM in any ...
0
votes
1answer
6k views

Proxmox - single public ip with multiple vms, openvz containers work, kvm's don't have a route

Currently I only have a /30 block (1 usable IP) (I just ordered a /28 for 13 usable publics, waiting) I just installed proxmox, set up a few virtual containers. Port forwarded the necessary services/...
3
votes
1answer
254 views

DNS settings on managed switches in LAN

We have a Windows 2008 server that is connected to a managed switch with about 15 Cat5e connections and three fiber branches that go to different parts of campus. At each of these parts there is ...
2
votes
1answer
3k 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 ...
24
votes
11answers
14k 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 ...
7
votes
7answers
4k 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 ...
12
votes
4answers
15k 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'...
9
votes
7answers
9k 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 - ...
0
votes
1answer
4k views

Multiple IP - different gateways - one interface - Debian Squeezy

i was reading many answers here and everywhere, but I cannot find the right one. I tried several solutions, but nothing works. I have a server with ONE Interface eth0. I have multiple IP's, but I ...
4
votes
1answer
3k 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 ...
4
votes
3answers
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 /...
1
vote
3answers
273 views

Rules based gateway selection under Windows

At our company we have 2 gateways: 192.168.1.1 and 192.168.1.2 Is there a way to configure my machine to use different gateway based on a list of IP addresses/domains? My current solution is to go to ...
1
vote
2answers
3k views

One linux server, one network, two gateway - can server handle connections coming from both gateways?

We have OpenSUSE server with a service running on it. We have two gateways on the network. One of these gateways is set as a default gateway for the server. In this case server can accept connections ...
3
votes
2answers
239 views

Preventing endless forwarding with two routers

The network in quesiton looks basically like this: /----Inet1 / H1---[111.0/24]---GW1---[99.0/24] \----GW2-----Inet2 Device ...
2
votes
1answer
1k views

What is the right place for default gateway in CentOS/RHEL?

As I can see there are 2 places where GATEWAY option could be used in CentOS: /etc/sysconfig/network /etc/sysconfig/network-scripts/ifcfg-* What is the right place for default gateway and what ...
2
votes
2answers
246 views

Default route not on LAN

I have a network that in principle looks like this: H1---\ /----Inet1 H2---->---GW1---< H3---/ \----GW2-----Inet2 H1 and H2 = Hosts that need access to internet with GW1 ...
2
votes
2answers
193 views

Is it possible to use 2 lines from 2 different ISP?

How can I (if it is possible) to set up the network gateway if I have 2 internet lines from 2 different ISPs? Furthermore, one of them is forwarding /28 static ip for (into) our network. Is there a ...
1
vote
1answer
67 views

User Account Not Listed in Gateway / or expecting IP address?

I’m trying to connect to my first VM that I've created on Azure. These are the steps I went through: When trying to connect I get this screen: It correctly lists the remote computer address ...
1
vote
1answer
574 views

machines of two subnets communicate through CentOS(with two NICs)

folks. Firstly, I really have done a lot of searching, but still couldn't find a problem which was exactly the same as mine, and I have tried some of their answers, but didn't work. Finally, I put my ...
1
vote
1answer
2k views

Xen machine can see others on subnet but not gateway

EDIT: solved it appears that switching static MAC definitions combined with mapping vif/0 and vif/0 statically to eth0 and eth1 (in domU, as per http://tomclegg.net/xen-eth0-renamed) done it. I'm ...
1
vote
3answers
501 views

Gateway and router on one computer

We have been attempting to setup a Linux/BSD/etc box that can behave as both an internet gateway and as a router. I don't know how to articulate our situation very well, so please forgive me... ...
1
vote
1answer
2k views

Connecting a LAN to an OpenVPN server via a windows 7 client gateway

I've got OpenVPN set up between my windows 7 client and linux server. The goal is that I'll get secure access to a webapp running on the server from any computer on the client LAN. I'm using ccd to ...
0
votes
3answers
3k views

OpenVPN - Client traffic is not entirely routed through VPN

I installed OpenVPN on my dedicated server. Using Viscosity or Tunnelblick on the client, I successfully connected to this server. However, after some tests, I realized that not all the traffic ...
0
votes
1answer
735 views

Connectivity restored with `ping`?

My server is operating properly. Something happens... Suddenly, my server is inaccesible via ssh and http. (The only open ports in the firewall.) All eth0 configuration is static, no DHCP. ...
0
votes
2answers
1k views

Why VM cannot get the public IP I have from provider?

I have a KVM-Host (on Debian) with root@kvm-host:/# cat /etc/network/interfaces auto eth0 iface eth0 inet manual auto vmbr0 iface vmbr0 inet static address 176.x.y.133 netmask 255.255.255.224 ...
0
votes
1answer
258 views

GW box not allowing internet from internal computers

I have a relatively new GW box ( CentOS 6.5 ) that can ping www.apple.com. When I change computers inside my network to use this GW as †he default GW, they cannot access the internet. So then I ...
0
votes
2answers
5k views

gateway iptables dns redirect

I'm having a problem with redirecting pc's dns requests to a local dns server. I want to block access to other dns services except my own. I've found different methods of doing this, none work here. ...
-1
votes
3answers
1k views

want to Make software router having two nic cards using centos 6.4

I'm new on CentOS. I have a CentOS 6.4 system having 2 NIC cards. I want to setup a gateway so I can get internet from public ip over 1st nic card (eth1) and forward the network over 2nd nic card (...