General :: Adjust Routing Of External Packets To One NIC Instead Of Another?

Apr 13, 2010

I'm running Ubuntu 9.10 server at home on VMware Workstation 7. I have two NIC's configured, one NIC is setup to have a direct connection to the network "Bridged", another NIC is setup to have a private network connection on VMnet1.

Network card 1 - 192.168.1.160 (Bridged)
Network card 2 - 10.1.1.1 (Internal access only)

So when I try to access the Internet, I can not go out on the NIC 1. If I try to ping google.com I get a return from 10.1.1.1 "no reply". But I know that NIC 2 is working, because I can ping 192.168.1.160 from the workstation I'm running on.

So I think that my routing is sending traffic out to the wrong NIC, but not sure if this is a metric in the iptables or another place?

The reason for two NICS is to simulate a DMZ where the server will be running Squid, to test proxy from another workstation on the 10.1.1.X subnet.

View 3 Replies


ADVERTISEMENT

Networking :: Routing Packets From One IP To Another

Sep 6, 2010

My setup is...I have a wireless access point using laptop as a gateway. The AP is also connected to a switch as is the laptop. So the laptop has two interfaces one wireless and one wired. A third device is using the AP to connect to a server on the internet. The AP sends the packets to my laptop where they are dropped. I've been looking for a solution to this problem without success. Basically is there a way for my laptop to forward all packets it sees from a certain IP address to whatever destination address they have?To clarify, my laptop is just the gateway of the AP and none of the packets are addressed to it at all, it just picks them up using a sniffer or similar tool.

View 1 Replies View Related

Networking :: Iptables Routing Packets On Same Sub-network

Feb 17, 2010

I am running into trouble while trying to set-up a iptables routing policy. I have two machines on the same sub-network (xxx.xxx.153.0). One of the machines is used as a default gw for the other (xxx.xxx.153.250 is a gateway for xxx.xxx.153.142 and xxx.xxx.153.254 is a gw for xxx.xxx.153.250). There is no explanation for why the xxx.xxx.153.250 is in the middle -- xxx.xxx.153.142 can go straight to xxx.xxx.153.254, but is is like that for now.I am trying to find an iptable rule to be executed on the xxx.xxx.153.250 machine to route the packets.

View 3 Replies View Related

Networking :: Routing Locally Generated Packets

Aug 9, 2010

My requirement was to direct certain traffic from various ports down different Internet connections. Basically, for locally generated packets, the OUTPUT chain in the mangle tables is used. You can MARK packets in this chain for ip rule processing.Now the "clear as mud" part. There must be a valid routing decision made without the fwmark, selecting the right source address, even if the gateway ip is invalid.

View 2 Replies View Related

Networking :: Routing Packets Through VPN And Normal Connection

May 10, 2011

I have a router/modem linux box, connection to DSL through PPP.I also use an OpenVPN service, to which this box connects.My problem is that the speed cap of the VPN is just half that of the DSL connection. I don't need it for internet browsing. Is there a way I can route all the http traffic coming from the client computers (or all of the traffic will do too) through the normal connection?As of now I can only route all traffic either on VPN or normal PPP

View 9 Replies View Related

Software :: Add Loose Source Routing To Packets

Mar 24, 2010

Is there any possible way I could add loose/strict source routing for traffic originating from a host ? I mean to add certain hops I want my packet to pass.With iproute2 or maybe iptables ?

View 1 Replies View Related

Programming :: Write A Program In C That Can Sniff Packets From Ethernet And Distinguish RTP Packets From Non-RTP Packets?

Aug 30, 2010

i need to write a program in c that can sniff packets from Ethernet and distinguish RTP packets from Non-RTP packets, i have no idea what should i do

View 9 Replies View Related

Ubuntu Servers :: External To Internal DNS Routing?

Jan 10, 2011

I have one external ip address and a few domains. Would it be possible to have each domain on a internal domain and the box that sits on that external ip route to the internal. This would be for a number of server (mail, apache, imap, pop3, https ) So for example:

Some visit domain1.com ->external ip -> 192.168.10.100 Someone else visit domain2.com ->external ip -> 192.168.10.101 and so one with a number of domains

View 3 Replies View Related

Ubuntu Security :: Best Method For Routing Multiple External Static IP's ?

Dec 16, 2010

I have a block of 5 static ip's and 2 servers that push HTTP and other services. What is the best method of configuring/routing traffic to individual boxes on the network?

More detail: One of my static IP's is assigned to a dedicated box for an Ubuntu mirror. Another static IP is assigned to a server with all of the HTTP traffic.

Several configurations function to route traffic appropriately (forwarding proxy or 1-to-1 NAT). However, with 1-to-1 NAT, the box is left open to the world with only the software firewall. Do I really need to place a hardware firewall inline to EVERY server?

Or, what other methods of routing and firewall would you recommend?

View 3 Replies View Related

Networking :: Insert Routing Data Into The Routing Table Doesn't Work?

Apr 6, 2010

I have a firewall, this consists of three NIC's:

Code: eth0[192.168.0.2] eth1[192.168.1.2] and eth2[10.10.165.2]

I am trying to ping eth0 from eth2, but I am not able to succesfully get a response from pinging the device, I am using:

Code: ping 192.168.0.2 -I eth2

I have tried to insert routing data into the routing table, but it still doesn't work

View 2 Replies View Related

Networking :: Firewall - Allow Packets Coming From Internet After Authenticating And To By Pass Packets Generated From Internal LAN?

Feb 8, 2010

i have a linux server runnig oracle applications. i need to access this server from putty using ssh through internet. i did by registering my static ip with the dnydns.org and i am able to connect to the server. but now there is no security to authenticate any user as any one knowing the password can login to it.

i thought of configuring the firewall of linux server but the client ip`s are not static and they change continiously. so thought of keeping one more pc between the server and the router which will do the work of authenticating. but i am confuse as how to configure it to allow the packets coming from the internet after authenticating and to by pass the packets generated from internal LAN?

View 8 Replies View Related

General :: How To Adjust Sources.list

May 13, 2009

Debian 5.0

On running;

$ cat /etc/apt/sources.list
Code:
deb http://http.us.debian.org/debian lenny main contrib
deb-src http://http.us.debian.org/debian lenny main contrib

[Code].....

E: Some index files failed to download, they have been ignored, or old ones used instead. how to adjust sources.list

View 3 Replies View Related

General :: Can't Adjust Screen Resolution?

May 30, 2010

Have just installed my frist linux os and the screen has a big black border around it. Set the res on install to 1024x768 & this is displayed in display settings. If I run xrandr in a shell tool it only shows 640x480 available.xorg.conf has "1024x768" "800x600" & "640x480" available.Have search the web but nothing I've found works.

View 14 Replies View Related

General :: How To Adjust Clock In Ubuntu

Mar 3, 2010

I want to adjust clock in ubuntu. When I installed it it asked about location and setting if for asia it automatically take the clock, but that timing is not correct. It showed 10 pm when actually it was 5pm. After installation I tried it to adjust but it could not be managed..it automatically took that previous timing.

View 4 Replies View Related

General :: Unable To Adjust The Output

May 25, 2011

i m running a command

Code:

watch -n 1 -d netstat -i

to see the packet drops every 1 second. but the problem is the output is so long(Due to large number of virtual interfaces) it doesn't fit into the putty prompt. I dont need to monitor each and every network interface I m more interested in monitoring the interfaces starting from vif but whenever i run following command it doesnt display anything.

Code:

watch -n 3 -d netstat -i | grep vif*

What should i do?

View 7 Replies View Related

General :: Any Way To Adjust Screen Brightness

Nov 12, 2010

I have a low end 7" CnMBook running modified Debian OS. Is there any way to adjust the screen brightness, if possible by adding a Fn command Up and Down?

View 4 Replies View Related

General :: Possible To Adjust Syslog Configuration?

Feb 10, 2011

I was reading around the web and saw that someone mentioned that the default syslog configuration should be adjusted. Is that true?

View 3 Replies View Related

Networking :: Kernel - Forward Packets From Eth0 To Eth1 And Eth1-to Eth0 As Well As Get A Copy Of These Packets For Analysis

Sep 27, 2010

I have a hardware device with two ethernet ports, eth0 and eth1 running Centos 5. Basically my goal is to forward packets from eth0->eth1 and eth1->eth0 as well as get a copy of these packets for analysis. If I set IP routing to do the forwarding then I won't get a copy of the packets for analysis.

View 3 Replies View Related

General :: Adjust Terminal Color Palette?

Jul 12, 2010

I'm on Debian with KDE 3.5 desktop and I use the Konsole terminal emulator.What I would like to know is: is it possible to tweak the color palette, for example to change my red to something a bit brighter? I use the "white on black" schema in Konsole and all colors are great except that red is far too dark on the black background. I found this Perl script that is supposed to change the palette but, while it prints the current palette just fine, I can see no difference between the various palettes.Searching for solutions mostly brings up pages about changing the scheme in Konsole or how to use colors in prompts and ls output etc, which is not quite what I need.

View 7 Replies View Related

General :: Can't Adjust Touchpad After Upgrading From Ubuntu 8.1 To 9.1

Dec 1, 2010

I just upgraded from Ubuntu 8.1 to 9.1. Selecting (tapping) with the touchpad is a problem. I can not adjust it with the System > Preferences > Touchpad GUI. I have to tap and tap and tap, harder and harder. The sensitivity is way off. Can't adjust it with the GUI.

Anyone else have this issue. I'm using a Dell Inspiron.

More info: sometimes I tap and it works. Other times I have to tap tap tap tap, harder and harder. I believe it's a matter of adjusting the sensitivity of the touchpad, but do not know how to do this after upgrading to 9.1.

Can't do it with the GUI.

View 1 Replies View Related

General :: Adjust Resolution In Mandriva 2009.1?

Apr 12, 2011

How to adjust resolution in Mandriva 2009.1?

View 2 Replies View Related

General :: Physically Adjust Position Of Dashboard?

May 29, 2011

I'm new to the Linux OS, and this is also my first post on this form. My question is Can you physically adjust the position of the dashboard? I'm familiar with Mac OS X where you could "Physically" adjust to the top, left, right or originally at the bottom. Is it possible and if it is, can someone explain to me the process on going about that?

View 7 Replies View Related

General :: Unable To Adjust Brightness On Laptop?

Apr 24, 2011

I have acer Aspire 5742 with mint 9 {64/32 bit both} installed.. I cannot adjust brightness of my laptop in any of them.. The shortcut keys are working fine as increasing or decreasing through keys show icon increasing or decreasing brightness but it is not affecting brightness in anyway.

View 2 Replies View Related

General :: Set Up Routing Over Two Network Interfaces

Sep 9, 2011

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 across an excellent document that explains how to do this: "Linux Advanced Routing & Traffic Control HOWTO" by Bart Hubert. He mentions:

make sure that your kernel is compiled with the "IP: advanced router" and "IP: policy routing" features

I've downloaded the kernel sources, but I don't find any config options with names like these in them.

sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r)
sudo apt-get source linux-image-$(uname -r)

Searching doesn't reveal anything

~/kernelBuild/linux-2.6.35/debian.master$ grep -iR policy . | grep -i routing
~/kernelBuild/linux-2.6.35/debian.master$

So my question is...how can I tell if the kernel I have has these config options. Failing that, how do I build a kernel that does support these things?

Additional use cases for this knowledge. (1) At work with desktop computer plugged into corporate network. Plug 3g phone into USB port. My corporate network wont allow me to access my external servers over ssh, but the 3g phone will. (2) At home on the corporate VPN, but would like to access my other local network computers.

View 1 Replies View Related

General :: Forward Packets To Another Computer In Net?

Feb 17, 2009

I have a computer with a BSD subsystem that is acting as a router to other Windows computers.

On one of my Windows, I have an Apache Web Server that I want people to access from the outside world.

So, I have created an ipfw rule in my router computer that goes like this: ipfw add 100 fwd 10.0.2.2 ip from any to any dst-port 2443

Thing is, nothing happens.

I've tried changing the ServerName in my Apache to match my IP address (which is the destination IP of the incoming packets, I imagine) but still, nothing.

View 1 Replies View Related

General :: Adjust The Mouse Scroll Wheel Sensitivity?

Mar 26, 2010

I just replaced my old Logitech mouse with a Microsoft Wireless Laser mouse, and the scrolling is too fast for my liking.

How can I adjust the scroll sensitivity?

I just updated to 10.04, but still don't see anything.

View 1 Replies View Related

General :: Adjust The Semmni Kernel Parameter In Fedora 13?

Sep 13, 2010

I've done the usual edit of /etc/sysctl.conf to include the parameter, but it just tosses errors. I haven't had to tune a kernel in a very long time, what's different about it nowadays (or have I simply forgotten how)?

edit: Added "kernel.semmni = 2048" to the tail of /etc/sysctl.conf and then ran "sysctl -p". End result is an unknown key error (apparently kernel.semmni isn't the valid name anymore?).

View 2 Replies View Related

General :: Adjust The Screen Resolution Like Windows System?

Mar 9, 2011

Can I adjust the screen resolution like windows system? Fedora 14.

View 6 Replies View Related

General :: Firefox 3.6 And Up - Adjust The Width Of The Vertical Scrollbar

Aug 20, 2010

I'd like to widen the width of the standard vertical scrollbar in firefox 3.6 or above. I know now that it is not an edit in about:config and appears that you have to edit in user.js, prefs.js, or in the Profile folder but I 3 prefs.js in my profile folder -

prefs.js
prefs-1.js and
prefs-2.js

Secondly, I cannot find the user.js file. its location if it is still a viable file to edit. which (or what) prefs file I should concentrate on for this edit.

Plainly, it shouldn't be this tough to adjust the vertical scrollbar width, in a perfect world it would be adjustable though Windows. Anyway, this old fart's having difficulty grabbing that scrollbar.

View 3 Replies View Related

General :: Unable To Adjust The Brightness Of The Netbook Screen?

Apr 19, 2010

Long, sad story made short. I have a Samsung Netbook running Windows XP Home, SP3. I set it up to dual boot with Ubuntu, just so I could play around with Ubuntu. Well, Ubuntu started giving me trouble: my internet connection went south, I was unable to adjust the brightness of the Netbook screen, etc., and when I looked for troubleshooting help on the internet, it was all Greek to me as it involved working with Terminal.

I did a search for removing a partition in Windows XP and found "How to use Disk Management to configure basic disks in Windows XP" on the Microsoft and followed the instructions there.

[Code]...

View 13 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved