Questions about using a router/networking, e.g. port forwarding, VPNs

learn more… | top users | synonyms (1)

8
votes
2answers
11k views

Setup routing and iptables for new VPN connection to redirect **only** ports 80 and 443

I have a new VPN connection (using openvpn) to allow me to route around some ISP restrictions. Whilst it is working fine, it is taking all the traffic over the vpn. This is causing me issues for ...
2
votes
1answer
1k views

ip-up does not trigger when using built-in cisco vpn on mac osx lion

I am using Cisco VPN client over lion and I want to make the ip-up and ip-down work. There is no sign of any action taken when I connect or disconnect this VPN connection. I really doubt whether the ...
0
votes
1answer
2k views

how to add interface based routing rule in linux

I'm wondering if it is possible to route a same packet differently based on which interface it comes from. For example, there are two Ethernet interfaces on a Linux box, eth1 and eht2. for IP packets ...
12
votes
4answers
20k views

How do I bridge two wired DD-WRT routers?

I have one DD-WRT router (herein: 1st) connected to the Internet, working perfectly, with client PCs assigned static IP addresses. Now I want to add another static client (herein: 2nd), but this time ...
1
vote
2answers
4k views

Add default gateway while installing Debian

I have in my virtual infrastructure static ip addresses and have to set the gateway which following commands: post-up route add x.x.x.254 dev eth0 post-up route add default gw x.x.x.254 post-down ...
0
votes
1answer
1k views

Routing on same network to different interface

Our network consists of a fixed assigned IP address per machine that connects to the domain. One machine (Windows 2003) has a wireless router connected to it (still on domain) with internet traffic ...
1
vote
2answers
1k views

Configure Fedora 14 server to have two networks

I have a server running Fedora 14 on a local subnet and configured with a static IP address. It communicates to other devices on that subnet through a switch. I would like to connect this server to a ...
9
votes
3answers
8k views

SSH server can't be connected to when VPN is turned on

I recently found that when my workstation connects through a VPN connection then its SSH server can't be connected to from a remote site. I am sure it's a routing problem because the the VPN client ...
2
votes
1answer
424 views

Why is 192.168.1.0 needed in route table?

My home network is configured as follows: Computer -- Route -- Internet If I run route on my computer, I see ~ route -n Kernel IP routing table Destination Gateway Genmask ...
6
votes
1answer
2k views

How do I troubleshoot distant Internet routing problems?

(This may be better answered on serverfault, but it's not technically about a server, so suggestions welcome...) We just moved offices at work. We're in Cambridge, MA, and have a Comcast business-...
10
votes
1answer
15k views

On Windows, how to determine route for IP destination?

How can I determine the IP route taken for a specific IP destination (without looking at "route print" and figuring it out manually)? In OS X there's route get 1.2.34 and in Linux there's /sbin/ip ...
3
votes
4answers
3k views

What kind of tools exist that can change the IP source address of an IP packet?

I'm looking for a tool for Linux or Windows that modifies an IP header, to be precise the IP source address. I know it's impossible to get the answer to such a packet since you do not own the IP and ...
0
votes
1answer
151 views

After auto secure no RIP updates sent

I was configuring/testing a Cisco router (sorry, I don't know the model since I was using NETLAB), and I had RIPv2 updates propagating/updating correctly. I then used the auto secure command to harden ...
4
votes
2answers
217 views

Routing Essentials

I'm a programmer trying to fill a big hole in my understanding of networking basics. I've been reading a good book (Networking Bible by Sosinki) but I have been finding that there is a lot of "...
0
votes
1answer
136 views

Searching a single solution for sharing and “natting” a 3G internet connection

I need a single, easily configurable, preferably open source, and still complete solution to turn my laptop into a WiFi Access Point, Router and Firewall/NAT, and share its own 3G internet connection (...
2
votes
1answer
722 views

Route Ubuntu traffic to Windows XP VBox's VPN

I have the need to use SonicVPN Client to connect to my company's VPN. Unfortunately there are no ways to connect directly from Ubuntu. So I tried to set up a minimal Windows XP Virtual Machine in ...
0
votes
0answers
115 views

windows xp irregularly refuses to connect to one specific webserver

I think of myself as an advanced user but this problem is driving me batty. Windows XP (32bit Home) going through a WRT54G router, once or twice a day at completely different random times, refuses to ...
1
vote
1answer
696 views

How to terminate ends to router in structured wiring panel

I have Cat5e cables run to outlets/jacks throughout my house. They all come into a centralized structured wiring panel and are terminated at a punch-down module. My goal is to enable private DHCP ...
0
votes
1answer
860 views

set up routing over two network interfaces

I'm often on my corporate network but also need to be on another network simultaneously. At the moment I have to manually switch back and forth between the two. I'm using ubuntu 10.04. I've come ...
0
votes
1answer
347 views

Internet routing

I regularly use a VPN connection to connect to a PC located at my employer's office. Most of the time this works fine, with ping times of ~30ms it feels just like being in the office. However, from ...
0
votes
1answer
111 views

Routing in Windows XP with IP restriction

I have Windows XP with two connections (e.g. A and B). What's the easiest way to make Windows XP act as a gateway to B for one and only one given computer (IP) from A?
1
vote
3answers
962 views

Without ForceBindIP, what happens when a computer has two (or more) connections to the Internet?

... and I open a browser.... Who decides which network connection to use? Or is it intelligent or random? Is this decision made for each request, for each application session, or for each something ...
0
votes
2answers
5k views

Routing everything except a certain IP range through an OpenVPN tunnel

I've been working with my OpenVPN server for a while, and I have a rather interesting problem. I need to redirect all client traffic through the tunnel except for a couple IP's that need to be ...
1
vote
3answers
5k views

Multiple network interfaces on a single NIC in Windows

Here's the scenario: Lets say we have a wireless network that imposes bandwidth limit on IP addresses(ie every IP address has limited bandwidth). To get around this, we can obtain several IP ...
3
votes
1answer
5k views

How can I ensure outbound traffic uses the same interface as that of inbound traffic in Linux?

I have a Linux box with two interfaces: one for data and the other for management purpose. If both are on the same network, I have a route added for both interfaces. Imagine the routing table is: ...
3
votes
4answers
4k views

OSX 10.6 keep using default route other than what it gets from wireless DHCP

OK, this problem has been driving me nuts for days now. I'm typically a linux guy, so while I'm comfortable with the command line stuff. I have no idea where to look on OSX. And typical googling is of ...
4
votes
2answers
9k views

How can I use two network adapters on OSX, one for LAN traffic and one for Internet traffic?

I have two networks available in my location, and am using a MacBook Pro running OS X Lion. BLUE NETWORK - DHCP assigns me 10.x.x.x address, and is for internal traffic only. It has no connection ...
1
vote
0answers
501 views

How to route through VPN only for one IP (OSX)?

I've gotta use a VPN as the first in several hoop-jumps into a client system, but this kills all other networking for me, which makes it very hard to get any work done :( I only need to use the VPN ...
1
vote
1answer
281 views

PPTP VPN Setup Issue; forces restart

This is actually more of a router issue, and I really have no clue where it should go. I've setup a PPTP VPN successfully, and when tethering through my phone, I can connect and disconnect from it as ...
2
votes
0answers
370 views

Routing packets to different available networks using process' pid / uid

I need to route packets from some processes(unique pids/uids) to desired network connection. So, Suppose we have 4 processes with pids 10, 11, 12, 13 respectively; and we have two network connections ...
1
vote
2answers
705 views

WiFi-sharing with Windows XP Pro (similar to “mobile hotspot”)

When on vacation, I always buy a local SIM card and use Android's "mobile hotspot" feature to provide Internet access to two Windows XP Pro laptops (mine and my wife's). Unfortunately now the Google ...
1
vote
2answers
2k views

Why is my wireless router screwing up hostname lookups?

The problem: I have two computers on my wireless network (domain name "serenity", at 192.168.1.1), hostnames "jayne" (Arch Linux, at 192.168.1.108), and "mal" (Mac OS X, at 192.168.1.101). When I try ...
2
votes
1answer
921 views

How do you add a MAC-based routing whitelist with DD-WRT and the OpenVPN client?

I have an OpenVPN client set up on my DD-WRT home router which maintains a VPN into my workplace. Slight problem: I don't want random lusers who access my wireless AP to have access to my company's ...
3
votes
2answers
3k views

SSH Connection Error : No route to host

There are three machines in this scenario: Desktop A : user@1.23.x.x Laptop A : user@1.23.y.y Machine B : user@192.168.z.z All the machines have Ubuntu 11.04 (Desktop A is a 64bit one) and have ...
1
vote
5answers
3k views

Accessing IP cameras from outside network

I have three IP cameras installed on my LAN and I am accessing all of those on the same LAN using Internet Explorer. How can I access any of these cameras from another LAN? Each camera is set up ...
15
votes
4answers
19k views

How can I ping via an alternate gateway?

Our network has two modems, each one hidden behind a router. The primary router is on 10.1.1.1, the backup router is on 10.1.1.2, and are both configured to the 10.1.1.0/24 subnet. Both routers have ...
1
vote
2answers
4k views

Trying to figure out route add to mask an IP to a router/gateway in Bash

Not even sure if I worded this correctly, but here’s what I’m trying to do roughly. Take an IP such as: 192.168.100.0 and mask it to 255.255.255.0, and set the gateway of that route to another IP ...
0
votes
1answer
775 views

Can't my computer as my LAN default gateway?

I have a home LAN cannect to the internet via an ADSL connection. My lan consists of two computers(let's pcA and pcB) and an ADSL router. here's the IPs router 192.168.1.1 pcA 192.168.1.2 pcB 192....
0
votes
2answers
2k views

Can't use my computer as my LAN default gateway?

I have a home LAN cannect to the internet via an ADSL connection. My lan consists of two computers(let's pcA and pcB) and an ADSL router. here's the IPs router 192.168.1.1 pcA 192.168.1.2 pcB ...
3
votes
1answer
908 views

Detect changes to routing table or address resolution protocol on Windows 7

On two different Win7 PCs we're having a very specific problem where connecting a device which uses a RNDIS driver sometimes disrupts the PC's network adapter connection (we detect this because we ...
1
vote
3answers
11k views

How to configure Windows to use an IPv6 connection?

"Looking towards IPv6": ...we're pleased to let you know that Google search is also available over IPv6 at ipv6.google.com (you'll need an IPv6 connection to view it). I tried visiting ...
1
vote
1answer
767 views

Linux router frequently drops connections

Until a few months ago, I had my Linux desktop serving double duty as a router for my home network, and all was well. Then I set up a small Linux machine to act as a stand-alone router, and since ...
2
votes
2answers
4k views

I don't want my DHCP to be a default gateway

I have a device which runs a DHCP server. When I connect it with USB to my computer, the PC gets an IP address and the device becomes the default gateway. I just want the device to agree on IP ...
4
votes
3answers
10k views

Connect to Computers in different router network

I have two routers, router1 one is wireless where I connect my laptops and the router2 is just a regular router that I connect the desktops to. Router one has its own subnet and router two has its own....
1
vote
1answer
619 views

Vigor 2920 cannot reach linux LAN device from VPN or WAN after some time (timeout?)

Setup: Gateway: Vigor 2920, Firmware: 3.3.6.1, 2 fiberlines, loadbalancing. I have 2 XEN Citrix server with virtual Debian (DomU) running on the LAN. (PROBLEM) Other devices running on the LAN: ...
1
vote
2answers
1k views

Why is my router losing Internet connection when I connect my computer?

When I connect my computer to the router (cable or wireless) the connection to the Internet is lost, and all other computers which are connected to the router don't have Internet. When I try to ping ...
2
votes
2answers
6k views

Windows 7 using wrong output IP adresses when multiple IP are configured to the same adapter

I've added a second IPv4 address to a network adapter and Windows started to use this second IP as the default output address. Even the address beeing in a completely different subnet from the default ...
2
votes
2answers
2k views

On Windows 7 how do I add a bad route so that my already established TCP connections will break

Say we have 3 Windows 7 machines, A, B, C, all on the same subnet. A - 192.168.1.2 B - 192.168.1.3 - nobody has this ip, doesn't exist on the subnet C - 192.168.1.4 Running tracert 192.168.1.4 on ...
0
votes
1answer
117 views

route packets for 2 eth's

I have 2 ethernet cards on my 1st computer eth0 10.1.1.254/24 eth1 10.2.1.254/24 eth0 is connected to 2nd computers eth0 using crossover cabe which is 10.1.1.1 I can ping computer 1 eth0 from ...
1
vote
3answers
1k views

Make all network traffic from PC1 pass through PC2

I'd like to have all network traffic pass through a computer, so that I can write some scripts that do basic traffic analysis (want to create a simple firewall). I have a home wireless network and ...