0
votes
0answers
19 views

iptables will only allow access to my website from external net [duplicate]

I am having an issue with my new Debian Router / Firewall. I have a Ubuntu server hosting a website on my internal LAN. If i try to connect from outside my LAN, eg. my phone, I have no issues. But if ...
-1
votes
1answer
33 views

Blacklist and whitelist of domains on Debian Linux router

I have to create blacklist and whitelist in small office for two groups of employees. I divided the users into two group: First group has block all webpages except about 80 domains which i want to ...
0
votes
2answers
41 views

Configuring DNS with router and BIND

Goal I am trying to setup a local DNS server here in our office. Problem Apparently Comcast has a loop-back so when we configured the domain to go to our IP it works outside of the office but ...
0
votes
1answer
39 views

what would happen when macchanger to gateway mac address? [closed]

I thought arpspoof GATEWAY_IP -t VICTIM_IP can be prevented by add a static arp entry on victim side, i.e. arp -s GATEWAY_IP GATEWAY_MAC I read ...
5
votes
3answers
525 views

Can internet gateways be plugged straight into a layer 2 switch?

tl;dr Internet gateways (eg., cable modems, fiber optic gateways) don't function properly when they aren't behind a device with "layer 3" or routing capabilities, correct? Incredibly long backstory ...
0
votes
0answers
34 views

Router Advertisement loopback

I have a machine acting as a router. To send out router advertisements it is running radvd. IPv6 enabled. When an interface is enabled (e.g. a link-local address is set) radvd will sent to all nodes ...
0
votes
0answers
107 views

Creating a multi-wan/isp failover router where wan IPs are dynamic on Debian

I'm having an incredibly hard time creating a basic router on Debian which has connections to two ISPs where the ip addresses are dynamic. I don't need bonding, I really just need some way to detect ...
0
votes
2answers
115 views

How can I route or bridge vlan properly with linux router?

I have a linux router (Centos 6) that I built. It has eth3 and wlan0 bridged together as br0. I have not been utilizing vlans up to this point. I have a wireless AP that is tagged vlan 42 for a guest ...
1
vote
2answers
66 views

Centos TFTP boot server without a dhcpd server

Good Day, I want to ask the comunity if it is possible to setup a TFTP boot server without running a local dhcpd server on the local box? The setup currently looks like this? What is currently ...
-5
votes
2answers
1k views

Blocking WhatsApp and other IM traffic

In my office, I have set up a linux machine as router and provide internet connectivity to all clients. Behind this linux router I have set up a cisco wireless router, with which I have made internet ...
0
votes
0answers
58 views

tc traffic shapping HTB in Linux-based router

I use an Android device to be a hotspot router. In fact, the behavior is similar to a Linux OS router. There are parts of functions in Android. Now, I try to use tc command to limit bandwidth of end ...
1
vote
2answers
246 views

Linux server not receiving default IPv6 route over PPP link

I'm replacing a pfSense router in a remote office with a small linux device, running Debian. The router only has to handle very basic iptables / DHCP and VPN facilities. It is configured so that the ...
0
votes
0answers
35 views

Capture packets from Access Point in bridge mode

From a linux router I would like to capture all incoming packets from a certain Access Point IP which is configured in bridge mode. Is it posible with some tools? tcpdump does not show me anything. ...
2
votes
4answers
378 views

Linux - two subnets, one interface, one gateway - NAT the additional subnet

We currently have a few servers that all use the same LAN: Host1: eth0 10.0.0.1/24 Host2: eth0 10.0.0.2/24 Host3: eth0 10.0.0.3/24 Gateway: 10.0.0.254 We want to run some VMs (VirtualBox) on these ...
0
votes
0answers
64 views

Realtime dynamic traffic shaping per ip

I have a wireless and wired network shared among several users. There is a linux router which acts as dhcp server and gateway. I would like to split the max bandwidth available from ISP (20 Mbit) over ...
3
votes
2answers
188 views

Wifi performance is slow only when there are multiple radios in one router

I have a wireless network setup like this: Laptop \ | Wifi Router A | Wifi Router B | Wifi Router C | \ | / \ | / \ | / ...
0
votes
1answer
46 views

port 53 works through router but not without it

I have a linux server behind a Comcast business gateway. The gateway has two static ip addresses. I want to forward ports 25, 53, 80, and 143 for both ip addresses to the server. Within the gateway ...
2
votes
2answers
290 views

Utilizing multiple IPs provided by ISP

This is a bit complex so bear with me. I do have a pretty good working knowledge of IP but I'm looking for help on the best way to implement this. My ISP has given me a block of static IPs as well as ...
2
votes
1answer
560 views

Linux machine does not answer an ARP request

We have this situation: A router, which is an Ubuntu VM, has multiple VLAN interfaces on the same physical NIC. Those VLAN interfaces are dynamically configured and torn down and attached to networks ...
0
votes
2answers
128 views

Debian router drops connection [closed]

I have a home network with a debian server running kernel 3.8 setup as a router, doing DHCP, DNS-caching, samba and Squid. The motherboard is a Gigabyte GA-Z77X-UD5H with two ethernet ports, one Intel ...
2
votes
1answer
228 views

Configuring ufw or iptables to allow only outbound traffic to the Internet from an internal IPv6 network

How do I configure ufw or iptables to allow only outbound traffic from an IPv6 network to the Internet? I have an office network with a traditional NAT setup for IPv4. I would like to add a PC ...
28
votes
4answers
4k views

Why does a hardware router perform better than a Linux router with better specs (RAM & CPU)?

I have a minimal CentOS 6.3, 64 bit acting as gateway with 4 NIC (1 Gbps), each bonded together one for public traffic and other for private, which performs NATing. It has 6 GB RAM and 4 logical ...
1
vote
2answers
140 views

Cannot attach CentOS VMs via DHCP following router swap

I recently swapped out an old Netgear modem/wireless router and replaced with a ZyXel P660HW-T1 supplied by our ISP. I have configured it so that the new router has the same IP address, subnet mask, ...
1
vote
1answer
80 views

Why can't I reach the LAN side of a slave vrrp router?

I have a dual linux firewall/router setup that is connected to 2 different upstream providers. Internally the default route is a failover using vrrp. The setup looks something like this. The routes ...
2
votes
1answer
125 views

Linux router: bandwidth of client

I am trying to build a linux router (captive portal) with a local RADIUS server for authentication. I want to log the bandwidth being used by each client on my network. I want to associate bandwidth ...
0
votes
1answer
511 views

Got “RTNETLINK answers: Invalid argument” when trying to add a IPv6 route

When I try to add an IPv6 route I get an error message: root@lx-anielsen ~ $ ip -6 route add ::a:6:0/112 via ::a:4:1 dev eth1.1001 RTNETLINK answers: Invalid argument Here is what my interface ...
0
votes
1answer
163 views

Apache Virtual Hosts behind Cisco Router

I'm setting up an Apache 2.2 Ubuntu web server for internal services that is also supposed to be accessed from outside our LAN. Our LAN has a single external IP that is the external IP of our RV042 ...
1
vote
1answer
55 views

Strange traffic lost on linux router

We faced very strange issue with our linux router. We have CentOS 6.3 server with several VLANs on it. Each VLAN interface has two IP, one management IP for ucarp failover checks and one virtual IP to ...
1
vote
1answer
1k views

Linux - set an interface to not fragment packets

I am using a Linux as a router. The machine has two NICs. This router will be used for experiments, so I have set one of it's interfaces to have a MTU that is lower than the standard (let's decide ...
0
votes
1answer
133 views

Router failover not detecting outside interface link lost

Suppose I have two routers configured in master/slave configuration. They look something like this (addresses are not real ones) 123.123.123.10 <===> [eth0] Router 1 (10.1.1.2) [eth1] ===> ...
4
votes
2answers
148 views

Different external ip addresses from different sites

My router is ClearOS 6(Centos 6). In my router, I have two external (internet) network connections from two ISP's. The primary connection is eth2 connected to a cable modem and the second one is ...
2
votes
2answers
465 views

Routing using Linux with 2 NIC cards

Configured Clear OS to be in Gateway mode on a machine with two NIC cards. eth0:192.168.2.0/24 with ip 192.168.2.27 which is connected to a modem and thus have internet connectivity. ...
2
votes
0answers
170 views

how to measure IP bandwidth in pass through mode in linux?

I want to measure the IP bandwidth in pass through mode. Please find the attached picture for configuration and my question also. If there is no solution with OpenWRT, I need any alternative ...
-2
votes
3answers
540 views

Apache can't get viewed from outside of my LAN

I fixed it in PORTS TRIGGER menu of my router. Thanks you anyway I have a weird problem related with (i think) my cable-router and my configured vhosts in Apache2. The point is I can't access from ...
1
vote
0answers
168 views

Connect two networks

Connecting two different offices with a wireless link and linux boxes. Hardware: 2 CISCO RV42, 2 Dual Homed Linux Boxes running debian, 2 2Wire and 2 AirMax 5 Configuration is: Office A LAN A ...
0
votes
1answer
95 views

webserver behind router or switch, multiple IPs available

We are getting a new internet connection 100Mbps UP/DOWN and 4 Static IPs. Also on that connection there will be a webserver that hosts some websites for us. (Nothing too fancy). The problem where ...
0
votes
2answers
890 views

Set up router with 2 WANs and multiple subnets

I'm trying to set up a Debian box as a router for an office. I need to have 3 subnets in the LAN and 2 WAN connections, and I want one of the subnets to ALWAYS use WAN 1 and the other subnet to ALWAYS ...
2
votes
2answers
117 views

Calculate data transferred in a local LAN

How do you calculate the data flown between a computer and the gateway computer. I have a Linux router/gateway running IP Tables which routes internet traffic in a LAN. I have individual users with ...
2
votes
1answer
306 views

iptables gateway not working on clients

I am not sure what's going on, but I have setup a gateway debian box with iptables and dhcpd server. The server is handing out the ip addresses to the clients just fine, gateway being set to the ...
0
votes
2answers
281 views

No route to host in different subnet

My new employer has two subnets, x.y.74.* (with default gateway x.y.74.33) and x.y.75.* (with default gateway x.y.75.1). The .75.* subnet is reserved for servers, i.e. machines that offer services to ...
-3
votes
1answer
111 views

isolate physical interface - router

Environment: -single physical server with 2 NIC (physical) interfaces -installed ESXi 5.0 -NIC1 connected to internet (modem) -NIC2 connected to Cisco switch (LAN) -virtual machine (debian) installed ...
2
votes
2answers
194 views

Monitor DoS attack with snmp [closed]

Is there any way to monitor DoS attacks with SNMP or any other software which based on Linux and could monitor router / switches and alert when a DoS attack is observed?
1
vote
2answers
1k views

backup static route on linux router

How do I set up a backup static route on a linux router. For example if I have 2 routers R1 and R2, connected through a switch, through two links: R1(eth1)->switch->R2(eth1) R1 ...
0
votes
2answers
157 views

set static default route in a router, in linux

How do I set up a static default route, for a router, in linux? I know that the usual way to go for a static route is to edit the /etc/network/interfaces and add at the proper interfaces the following ...
0
votes
1answer
485 views

default route propagation under rip - quagga

How would I propagate a default route under RIP, from a router? The operating system is Ubuntu. Can this be done in Quagga? What would be the command? I found a solution for a cisco router: ...
0
votes
2answers
145 views

Linux as a router for public networks

My ISP had given me a /30 network. Later, when I wanted more public ips, I requested for a /29 network. I was told to keep using my earlier /30 network on the interface which is facing ISP, and the ...
-6
votes
1answer
177 views

Server is not reachable because it was setup as Static IP. Must requires DHCP mode [closed]

ISP provides Static IP. Based on MAC address, so that forever the end user have Static IP (to do mail/www servers) Step 1: So as a user we purchased this module called Static IP using MAC address ...
2
votes
1answer
272 views

network setup does not work: icmp works, tcp not

I experiencing a small problem with my network setup: In this network, I can ping from 192.168.3.0 to 192.168.2.0 and reverse, but it does not work with TCP connections. The handshake fails (no ...
1
vote
2answers
387 views

Linux: Ip forwarding or bridge?

On a Ubuntu 8.04 I have two interfaces eth3 and eth4:avahi. eth3 is in my local network with 192.168.178.63. eth4:avahi has the ip 85.214.144.211. From this box I can ping 85.214.144.212 ...
2
votes
2answers
565 views

Assigning many WAN IPs to a Linux Router for 1:1 NAT?

I'm in the process of setting up an Ubuntu Linux box to act as a router. Its a fairly normal setup with NATing using IPTables - and its working fine for me. I'm about to put this into production, and ...