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

learn more… | top users | synonyms (1)

89
votes
12answers
125k views

How can I make the Windows VPN route selective traffic (by destination network)?

I want to use a Windows VPN but only for a particular network, so that it doesn't take over my entire network connection. e.g., Instead of the VPN becoming the default route, make it only the route ...
11
votes
2answers
7k views

How does the router know which device to send packets to? [duplicate]

my question does not concern how it moves through the internet, but how it moves through the router to a certain device. All devices connected to a router in a home network have the same external IP. ...
2
votes
1answer
2k views

Connecting to my own network via external IP

Even though I have seen and read quite a few similar Q's I was still unable to understand what is required for me to be able to do this. I have an internal network. One of the machines is a web ...
7
votes
4answers
12k views

How to set up application-specific routing table on Windows?

Suppose network interface 1 (net1) and 2 (net2) are both connected to the Internet. I want application 1 (app1) to use net1, and application 2 (app2) to use net2. How can it be done under Windows? If ...
26
votes
2answers
11k views

How do you get loopback addresses other than 127.0.0.1 to work on OS X

According to everything I read, the entire 127.x.x.x subnet should loopback. However, on my Mac, I can only ping 127.0.0.1 I know I've done this before (though possibly on another OS) and has come ...
8
votes
2answers
13k views

How to map an IP adress to localhost?

I want to map the IP address 192.168.1.222 to 127.0.0.1 so that if I use 192.168.1.222 in the web browser or ping command I get the response (and that from my 127.0.0.1). Is this possible via ...
104
votes
13answers
50k views

What is the exact use of a MAC address?

I understand that IP addresses are hierarchical, so that routers throughout the internet know which direction to forward a packet. With MAC addresses, there is no hierarchy, and thus packet forwarding ...
30
votes
6answers
32k views

How to force split tunnel routing on Mac to a Cisco VPN

Any one know how to hack the routing table (on a mac) to defeat the forcing of VPN routing for every thing over a cisco VPN? pretty much what I want to do is have only 10.121.* and 10.122.* addresses ...
17
votes
2answers
66k views

How to route only specific subnet (source ip) to a particular interface?

How to route only specific subnet (source ip) to a particular interface? OS: Linux I know I can do easily by destination IP by using something like route add 1.2.3.4/24 dev eth4 but I do not ...
6
votes
4answers
6k views

Route the traffic over specific interface for a process in linux

Is it possible to route the traffic used by a process over a specific interface? For example, network traffic by download application should always use the interface wlan0 whereas all other ...
9
votes
5answers
55k views

Rerouting local LAN and Internet traffic when in VPN

I'm connecting to a VPN which doesn't allow split tunneling and basically reroutes my Internet traffic through, which is slow. Additionally and more importantly, this also effectively removes my ...
1
vote
1answer
85 views

Routing in home LAN

I'm trying to understand some basic concepts of networking. I have following home LAN: Is it right (like above) to have 2 NIC's each one having 2 different gateways on one station? There PC2 have ...
9
votes
2answers
46k views

Windows 7: how can I add an IP range in the “route” command?

I'm using two network connections, and I tried using the "route" command so that when I access a specific internal IP on my LAN, it would use connection 1, anything else would go normally through ...
8
votes
5answers
40k views

When a PC has both a wired and a wireless connection, how is information transferred?

My PC has two connections (wireless and wired) simultaneously. Both of them have an internet connection. In this situation, how does it connect to the internet? How do my LAN and WLAN interfaces know ...
22
votes
8answers
58k views

Access internal IP using public IP

I have a DSL modem with a public IP address (201.206.x.x), and I have a web server in my internal network (192.168.0.50). I set up the modem to forward requests to port 80 to my web server, so, if I ...
19
votes
2answers
12k views

Does All LAN Traffic Travel Through A Router

I have a very simple question: if I have a router (DHCP enabled - leasing IP addresses between 192.168.0.2 and 192.168.0.254) with a switch plugged in, and I plug two computers into the switch, will ...
6
votes
2answers
6k views

DD-WRT: Cannot see client when using wired ethernet

A bit of a frustrating problem I've been facing - I just don't know what's wrong. I have a Netgear WNR2000v3 router with DD-WRT v24-sp2 (03/19/12) std installed. Everything works perfectly apart from ...
11
votes
1answer
45k views

“Network is unreachable” when attempting to ping google, but internal addresses work

I can get to other PCs in my house on the 192 network, but trying to go outside gives me the "network is unreachable" message. p3p1 is up with a good IP Address. Running Fedora 16. What should I ...
7
votes
2answers
24k views

How can I setup a win 7 PC as a router?

I have an industrial PC with 4 Ethernet port, I would like to use this PC as a router on windows 7. Before we used Ubuntu so there is an open source solutiosn, but unfortunately the UPS power supply ...
5
votes
2answers
13k views

Problem with persistent routes and VPN connection in Windows 7

My home PC has a VPN connection to my office. The office network is firewalled, with a secure zone on 192.168.0.* and a DMZ on 10.0.0.* From outside, www.mycompany.com routes to a public IP - say 1....
5
votes
4answers
575 views

Is there any alternative to virtualization for handling two different interfaces, different networks and same IP range?

I have a Linux box with two different NICs that are connected to two different networks, but they share the same IP range (10.0.0.x). My first idea was to use virtualization for that (i.e., Xen), but ...
3
votes
2answers
5k views

private address in traceroute results

I SSH into a remote host 194.199.68.165 and then use traceroute to check paths to 132.227.62.122 , and I notice that there are some private IPs, like 10.230.10.1 bash-4.0# traceroute -T 132.227....
2
votes
1answer
2k views

Changing routing on Mac with two Ethernet ports

I have a Mac tower which has two Ethernet ports. One is connected to our corporate network, the other to a non-corporate network. Priority order states that the non-corporate network comes first and ...
5
votes
2answers
21k views

Static routing on a TP-Link TL-WR1043ND

My home network setup looks like this: Both routers are TP-Link TL-WR1043ND routers. The basement router handles all devices in the house that are connected via cable, handing out addresses for ...
3
votes
7answers
11k views

Why can't routers use MAC addresses instead of private/local IP addresses?

I understand the reason public IP addresses are necessary to be that if we only had MAC to move data between one host and another, the entire Internet would be one massively flat network. But what is ...
3
votes
3answers
4k views

hosts file for ip address

I would like to map ip address to specific localhost interfaces (e.g. 23.45.66.77 => 127.0.3.3). For named hosts I can use the hosts file. Naturally this doesn't work for IP address. This has to work ...
2
votes
2answers
2k views

Mac OS X traceroute not even reaching router gateway

I'm having an issue on a Macbook Pro running Mac OS X 10.5, I'm unable to visit certain websites such as: "themarchesa.com" On other computers in the same LAN network connected over wifi I'm able to ...
1
vote
1answer
1k views

Routing a particular subnet into a VPN tunnel

My network looks like this: I'm trying configure my router so that the subnet (192.168.2.0/24) is routed over the VPN tunnel (tun0) on the gateway/router. While at the same time clients on the ...
3
votes
3answers
3k views

Custom route table for a specific application?

I'm on a network with two internet connections. One is a WAN access to a corporate network (with custom firewall rules), the second is a direct internet connection. By default, all communications are ...
3
votes
1answer
2k views

Default route in debian with two interfaces

I have a debian machine with two interfaces, configured by dhcp: allow-hotplug eth0 iface eth0 inet dhcp allow-hotplug eth1 iface eth1 inet dhcp On boot, a default route is added to eth1: 0.0.0.0 ...
1
vote
3answers
893 views

Usage of Dual Ethernet Jacks (One for LAN, One for WAN)

I'm working on an old Mac PowerPC G5 that has two Ethernet jacks. I'm interested in finding a way to have both jacks setup so that all internal traffic (all traffic to and from a specific IP address ...
1
vote
1answer
2k views

OpenVPN: Route only specific subnetwork through vpn - works for single IP adresses

I was trying to route only specific subnet/single through open vpn. I have read several questions like this on superuser, and even found good answer to my question. So I am now able to route single ...
15
votes
4answers
19k views

How do I setup Ubuntu/Linux's Network manager to selectively route network traffic through the VPN?

I'm using Ubuntu 9.04 and I just noticed that ALL of my network traffic is being routed through my VPN. I would like the VPN to route only the traffic hitting servers on the VPN and then connect ...
13
votes
5answers
17k views

How do IP answer packets reach their destination inside of a private LAN?

This is a little theory question that has been confusing me for a pretty long time. Basically, if we are inside of a private LAN, and we want incoming packets to reach, for example, an HTTP server ...
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 ...
18
votes
5answers
54k views

How to tell Windows 7 to ignore a default gateway

I currently have 2 network cards in my PC -- one connected to an internal network on a router with a disconnected WAN port (10.x.x.x), and one connected to the internet through a consumer router (192....
6
votes
1answer
7k views

Routing traffic to specific web sites through Ethernet, rest via wifi on Mac OS X 10.6?

I have two separate Internet connections connected to a Mac and I'd like one of them (via Ethernet en0 gateway) to serve for just backing up to an remote online storage, and the other one (via Airport ...
4
votes
2answers
2k views

Linux routing and HMA

My setup is the following: I have an ssh access to a distant machine, running the last version of Ubuntu Server edition, and I have to run a software on it "through" HideMyAss VPN (because this ...
31
votes
5answers
3k views

How do I tell Windows to use 802.11 in preference to 3G?

I have a Samsung NC-10 netbook which I take to work every day. Most of the time I use it just on the train/bus, but I also use it at work and home. It has a built-in 3G card which I want to use when ...
8
votes
4answers
23k views

Routing all Traffic through OpenVPN Tunnel

I have installed OpenVPN server on Archlinux and am now using OpenVPN GUI on Windows 7, I can talk to other computers connected through the VPN but I have not yet figured out how to route all traffic ...
4
votes
3answers
9k 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....
0
votes
2answers
3k views

How to prevent Windows 7 using VPN gateway by default?

Yes, I am aware of this question. However, I have tried following the answers to the question, and they don't work for me. If I uncheck "Use default gateway on remote network", RDP simply refuses to ...
5
votes
2answers
4k views

How to route traffic to website using a specified network connection on Windows 7?

I want to route all traffic to a website over my wireless connection while the rest of the traffic using my lan. What I tried was first finding out the IP address of the website I want to go to. For ...
4
votes
2answers
13k views

Doubt In default time to live (TTL) 255?

I know that,The Default Time to live value is 255, each time a ipv4 packet crosses a router that value is decremented by 1. But,When I ping my adsl router it shows TTL as 64 Pinging 192.168.0.1 ...
4
votes
1answer
22k views

How to select default network interface for internet?

I have 2 network interfaces. Both use DHCP to obtain ip address. First provides internet directly and second uses PPPOE connection. How to select which connection windows will use to connect to ...
2
votes
1answer
9k views

trick out cisco vpn with routes

I'm working on a way to trick out cisco vpn-client by modifying the routes on the local system to achive a status thats calles split-tunneling. I know that I don't have the right to do this without ...
14
votes
2answers
7k views

Does the order of entries in the routing table matter?

Does the routing order matter: > route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 123.x.x.151 0.0.0.0 255.255.255.255 UH ...
5
votes
1answer
5k views

How can I route *some* traffic over an SSH SOCKS proxy on OS X?

I have a SSH SOCKS connection running for VPN purposes, and this works beautifully. By using either FoxyProxy for Firefox, or a .pac file for OS X's Automatic Proxy Configuration option, web traffic ...
4
votes
2answers
4k views

How to ensure Internet access is only via VPN [duplicate]

I have a Windows 7 machine with a regular wired Internet connection, configured via DHCP. It has a VPN connection set up. How can I ensure that Internet access is allowed only over the VPN? That is, ...
3
votes
1answer
192 views

How can I tell if my multiple network interfaces are working ok?

On Ubuntu 14.04 x86-64 I have a wireless broadband connection and a USB tethered one (it's on 4G, not the same wireless): route -n Kernel IP routing table Destination Gateway Genmask ...