Networking :: Ip Forwarding Doesn't Work?

Feb 15, 2011

I have 2 guest machines on 1 VBox host installed : - one guest with hostname 'debian' is configured as follows and has IP Forwarding enabled to be able to route traffic from eht1 to eth0.

Code:
eth0 Link encap:Ethernet HWaddr 08:00:27:f1:ef:5f
inet addr:10.0.2.1 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fef1:ef5f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[Code]....

View 2 Replies


ADVERTISEMENT

Networking :: IP Forwarding /NAT Doesn't Work After System Update?

Oct 22, 2009

I used the following 2 rules in iptables to forwarding some packagesiptables -t nat -A PREROUTING -p tcp --dport 8000 -j DNAT --to-destination 192.168.0.244:8000iptables -t nat -A POSTROUTING -p tcp --dport 8000 -j MASQUERADEIt works perfectly before, the kernel was 2.6.18-92.1.22.el5.After we did a update, the kernel now is 2.6.18-128.7.1.el5.and the forwarding is stop.I just wondering where can I get some debug information. I checked /var/log/message, dmesg ... seems nothing there.

View 1 Replies View Related

OpenSUSE Network :: .Xauthority In NFS/NIS-Environments - X-Forwarding Doesn't Work?

Mar 26, 2010

we have here a few openSUSE-machines (some 11.1 and 11.2) which mounts their /home from a NFS-Server and imports the users via NIS. I now wanted to use X-Forwarding via SSH, but that doesn't work with NIS-Users.On my machine I use Gnome and my XAUTHORITY-Variable points to /var/run/gdm/auth-for-bup_deg-E3TMSz/database

Why isn't the default ~/.Xauthority-File used for my cookies? What do I have to change to get X-Forwarding in my Setup running?

View 1 Replies View Related

Red Hat / Fedora :: Iptables And Forwarding Stuff Doesn't Work On The Private Network

Mar 27, 2011

I have 2 different networks: the first one is gateway machine (eth0), and the second is a private machine (eth1). So, I've configured the iptables and forwarding stuff and when I try to ping google.com on the gateway machine, it works, while it doesn't work on the private network. Note: I am using VmWare 7. I need your quick assistance about this issue.

View 2 Replies View Related

Networking :: Iptables - Forwarding On Router Doesn't Appear To Be Working

Sep 12, 2009

For the background, I'll be using my router as a firewall with snort-inline enabled. I got 3 NIC's: one for the WAN, the second will be bridged to the WAN NIC for queuing traffic which snort-inline requires, and the third is the LAN NIC (the computer I use for everyday work). Here's how I have my interfaces set up:

Code:

# /etc/network/interfaces
# Loopback interface
auto lo
iface lo inet loopback

[code]....

From what I understand, queuing needs to be set up on the bridge. From the documentation I've read it's done like this:

Code:

iptables -A INPUT -j QUEUE
And then to forward traffic, I did:

Code:

iptables -t nat -A POSTROUTING -o br0 -j MASQUERADE

I've done this and am able to ping the router, obtain a DNS address from dnsmasq from the LAN computer. From the router I am able to connect to the internet (ping, links <address>...). From the LAN computer trafficking isn't getting forwarded, Firefox, links, ping all don't resolve.

View 7 Replies View Related

Fedora Networking :: Port Forwarding Does Not Work

Mar 22, 2009

I have a question regarding port forwarding. I have a fedora server, with two eth cards: eth0 ---> external IP, eth1 ----> LAN IP I use SNAT for connection sharing. I also have an internet domain hosted on this server... let's call it [URL] Anyway, one of our computers in the LAN has some kind of web server on it, which must be accessed from the internet on the port 23700.

So, using iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 23700 -j DNAT --to 192.168.1.25 (the IP of the network computer) Everything works perfectly fine from outside the lan. When I type [URL], I connect to that computer. My problem is that inside the lan, typing [URL] does not work! It only works if I enter it by IP 192.168.1.25:23700 Is there any way to make the server forward my request to that specific computer even if I'm inside the LAN?

View 3 Replies View Related

Networking :: Port Forwarding (DNAT) Won't Work

Jun 3, 2011

I'm trying to understand and set up port forwarding with iptables. So far I've read a lengthy tutorial on iptables, and I've Googled for hours, searched this forum, but I've been unable to come up with a solution that works for me.The situation I would like to achieve is the following: on one machine, there is a TCP server running bound to its external IP, port 9999. I would like to let another machine connect to this TCP server on port 9000 by forwarding port 9000 to 9999.All the policies of the iptables chains are set to ACCEPT; and I have set net.ipv4.ip_forward = 1. I have no problems using SNAT/MASQUERADE on the same server machine.I have tried the following:

Code:

iptables -F
iptables -t nat -F
iptables -t nat -A PREROUTING -p tcp -i eth0 -d ${SERVER_IP} --dport 9000 --sport 1024:65535 -j DNAT --to ${SERVER_IP}:9999

In order to test this rule, I started a TCP echo server on port 9999. I can connect to it on port 9999, but not on port 9000- this gives me 'connection timed out'. When I do 'iptables -t nat -L -v', I can see that the rule does get matched once per connection attempt.

View 1 Replies View Related

Ubuntu Networking :: Iptables And Cannot Get Port Forwarding To Work?

Mar 8, 2011

I've been beating myself over the head with iptables and CANNOT get port forwarding to work. Here's my situation: Static LAN IP on eth0 Static internet IP on eth1 ip_forward is turned on by uncommenting in sysctl.conf Here's the output of iptables-save:

Code:
# Generated by iptables-save v1.4.4 on Tue Mar 8 10:34:12 2011
*nat
:PREROUTING ACCEPT [2443:347058]

[Code]...

Edit: by the way, the intended purpose of this machine is to server as a gateway and firewall. MASQUERADE is working, for whatever that is worth. And the host behind the firewall that is serving up http is definitely working too. All that is not working is getting hosts on the internet talking to hosts behind the firewall.

View 1 Replies View Related

Networking :: DNS Lookup Doesn't Work, Ping, Firefox Will Not Work Properly?

Apr 23, 2009

I have this annoying problem since day one.I am testing out Red Hat RHEL5, everything is fine except DNS look up.If I ping www.google.com, it doesn't work, ping ip address it all works;if I bring up browser, put www.google.com it doesn't work, can't find the name, however, simply put ip address there it works.My DNS seeting seems ok, and the DNS works from Windows box.

View 2 Replies View Related

Networking :: Shorewall: Port Forwarding Port Is Closed Even After Forwarding?

Dec 12, 2009

I have just set up shorewall on my router running Arch Linux. The external network is on eth0 and the internal network on eth1.I have set it up for masquerading and that works fine and I can open ports to the firewall. But I'm having trouble with port forwarding to my internal machines.The problem I have is that when port 22350 is forwarded to 192.168.1.3 on my local network, checking the port with nmap from a remote computer gives me:

Code:
PORT STATE SERVICE
22350/tcp closed unknown

[code]....

View 2 Replies View Related

Ubuntu :: X11 Forwarding Via Ssh Connection - Doesn't Forward To Display To Local Machine

Jul 30, 2010

I am trying to run xeyes on a remote machine via ssh connection. Both my local and remote machines are Ubuntu 10.04. I connect to remote server via ssh -X and It does not forward to display to my local machine...

Code:
root@goliath:/opt/install/bits# ssh -X -l root duke
root@duke's password:
Linux duke 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
Ubuntu 10.04 LTS
[Code]....

View 6 Replies View Related

General :: Procmail: Forwarding Just Does Not Work?

Mar 13, 2011

I've spent pretty much the whole night trying to figure out how I can achieve the following: If a certain Keyword, say [key], is in the subject line, then the email is forwarded to a list of people.

My recipe (now) looks like this:

Code:
:0
* ^Subject: .*[key].*
! my-email@gmail.com
The (verbose) procmail logfile gives me this:

[Code]....

Is my recipe wrong in any way? I pretty much copied it from available ones.
It's a university server, so I'm no admin, just a user. How can I figure out whether some setting that the admin made prevents procmail from calling sendmail or whatever?

View 3 Replies View Related

Fedora Networking :: Networking On F11 Doesn't Work On Various Machines

Aug 25, 2009

Networking on Fedora 11 doesn't work for me on various machines. Fedora 10 does, but only if you don't do an update.Why does Fedora get worse the more you keep it up-to-date?

View 1 Replies View Related

OpenSUSE Network :: X11 Forwarding - Windows Client Works But It's Doesn't - Cannot Connect To X Server

Jan 20, 2010

I have x11 forwarding enabled in /etc/ssh/sshd_config on a suse 11.2 32 bit box running kde I can open x apps on a windows machine using xming and putty just fine, but when I boot the same machine into suse 11.2 64 bit using kde and try using konsole I get: cannot connect to x server

The command I'm using to log in is: ssh -X -l username host I doubt the problem is with the server I'm logging into or it wouldn't work in windows, not really sure what to look for as I've never had a problem using x11 forwarding from a linux client before only windows ones

View 7 Replies View Related

Fedora :: Prefer To Work Over SSH And Enable X Forwarding

Jun 7, 2011

I installed Fedora 15 to my server. I preffer to work over SSH and I enable X forwarding. My configurational file:

/etc/ssh/sshd_config:
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes

From my laptop I run next commands

ssh -X user@xx.xx.xx.xx
startx

and the session start on server, no redirect occur. Next output I saw in terminal

[Code]....

View 4 Replies View Related

General :: OpenGL Program Not Work With X Forwarding?

Oct 7, 2010

I have an OpenGL program in a Linux server. I want to run the program remotely with X forwarding, but it fails, whereas programs such as xclock and xeyes work fine. (I confirmed that the program works in the local desktop environment.) Below is additional information.

Test Code:
#include <GL/glut.h>
#define WIDTH 300
#define HEIGHT 300
void display()

[Code]...

View 1 Replies View Related

Server :: X Forwarding On SSH In CentOS Didn't Work

May 25, 2010

I was able to do on Debian and Ubuntu Servers X applications running on remote servers where I was able to login via SSH. Tried the same with CentOS did not worked. in /etc/ssh/sshd_config

[Code]....

View 1 Replies View Related

Networking :: Ip Route Mtu Doesn't Work?

Feb 26, 2010

I'm trying to troubleshoot some networking issues I'm having between my Linux servers connecting to a server at another location after a Cisco ASA firewall has been installed at my location. I can make the connection work if I lower the mtu on the NIC (ifconfig eth0 mth 1000) - however that supposedly can break the local network if I don't set everything else's mtu to match. Supposedly I can use the iproute package (debian etch) to lower the mtu on a per-route basis, but it doesn't seem to work for me.

Code:
ip route delete default
ip route add default via X.X.X.X mtu 1000

View 2 Replies View Related

Networking :: My Internet Doesn't Work

Mar 13, 2010

Hello.

I've openSUSE 11.2, 64-bit version, with GNOME desktop.

My hardware is a Conceptronic c150ru.

Well, I configured it with Ndiswrapper (http://en.opensuse.org/Ndiswrapper_howto), and I hadn't problems.

Then, I tried to enable Internet with the terminal. Firstly, I wrote iwconfig wlan0 mode managed. Well.

Secondly, I wrote iwconfig wlan0 essid (my essid). Well.

Then, I wrote iwconfig wlan0 key (my key wep). An error message appears. How can I write my key wep?

View 2 Replies View Related

Networking :: Second Interface Doesn't Work?

Jul 3, 2010

I have two simultaneous active mobile connections through my two mobile phones and USB data cables. Yet I can only send/receive with one connection.

Each of the phone modems have a node in /dev, namely ttyACM0 and ttyACM0. So the modems are detected correctly. After setting up two dial-up connections with the two modems I have two ip's. Ifconfig-a confirms this:

ppp0 Link encap:Point-to-Point Protocol
inet addr:10.10.219.60 P-t-P:10.6.6.6 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:15209 errors:0 dropped:0 overruns:0 frame:0

[Code]....

View 1 Replies View Related

Networking :: Tcp_probe Doesn't Work?

Feb 4, 2010

I'm using ubuntu 9.10 with kernel 2.6.33.I want to plot the cwnd of some tcp connections over the time.So I activate the module (as root) with:modprobe tcp_probeand after that I did:cat /proc/net/tcpprobe > test.log &And than I do a little bit surfing or other things, which use tcp - but the file test.log is empty

View 6 Replies View Related

Ubuntu :: VMware Workstation Port Forwarding Did Not Work

Sep 18, 2010

I have a machine with Ubuntu Server and VMware Workstation 7 installed. I have tried NAT port forwarding to gain Remote Desktop access to a Windows virtual machine, but it did not work for whatever reason. I've done this by editing the nat.conf file in the /etc/vmware/vmnet8/nat directory. Unfortunately it still does not work. Also, I would like to ask if it is possible to port forward using the virtual machine itself and not the host.

View 1 Replies View Related

Fedora Networking :: Traceroute Doesn't Work

Mar 14, 2011

I am trying to traceroute to google.com

When i do it looks like this

Code:

It does this no matter what site I go to. also the 192.168.16.10 is the untangle server

The command does work for local Ips

Code:

View 2 Replies View Related

Ubuntu Networking :: Ekiga Doesn't Work With 10.04

Jun 9, 2010

I have recently installed ubuntu 10.04. After some days of trying I can say that ekiga doesn't work with 10.04. With the same computer I was perfectly able to use ekiga with ubuntu 8.1, the 10.04 gives me connections problems.... it simply say says "Could not register (Failed)".I'm trying to connect with my voip provider (12voip.com) but it seems that I can't. I have even tried other programs like empathy, Twinkle, QuteCom but with none of them I can connect with my voIP provider. I think there are some connection problems but I really don't know how to face them. We have to configure router in 10.04 for sip connection? Actually I can't phone at all.

View 4 Replies View Related

Ubuntu Networking :: Netcat Doesn't Seem To Work

Jul 27, 2010

I've tried to use netcat in the past and assumed it was my stupidity that was preventing it from working... but this is getting ridiculous. I'll execute nc -l 3333 on a server at 192.168.0.105 (after opening it on the firewall of course) then I run nc 192.168.0.105 3333 on my laptop (from 192.168.0.101). and nothing happens... i start typing and nothing comes up on the terminal.

I run nc -z 192.168.0.105 80 which should ideally do a port scan of port 80 on that server (of which I'm running a web server that clearly works) but it doesnt even give me any feedback. Nothing happens. Now when I use the verbose flag i see that I am indeed connecting to the specified port on the server successfully (so the port scan one is a success but only with the verbose flag... which shouldnt be the case I believe). But still once I have the server listening and the laptop connected... I type in both windows and nothing happens...

View 1 Replies View Related

Ubuntu Networking :: Set Up JVJ 3G Modem - URL Doesn't Work

Aug 30, 2010

I have JVJ 3G modem,one from Singapore. I have try out as [URL]... But it doesn't work. Has anyone try it before?

View 4 Replies View Related

Ubuntu Networking :: HP Printer Doesn't Work?

Aug 31, 2010

I am networked to a Windows machine. I can see and open files across the network. I can see and add my HP 6000 printer (it is on the Windows machine). On my Ubuntu machine this printer has a check mark by "Enabled" and "shared" but I cannot set it as default (that option is ghosted) and when I try to print a test page it says "unable to connect to CIFS host" I downloaded the HP Linux setup program. That program cannot locate the networked printer at all.

View 7 Replies View Related

Ubuntu Networking :: Wireless Doesn't Always Work

Nov 15, 2010

I'm running Ubuntu 10.04 on my laptop. Up until about a week ago, my wireless worked fine, but now it rarely connects. Sometimes the connection indicator shows that I am connected, but when I click on it it doesn't show any active networks. Even when I use a wired connection it doesn't always work.

View 3 Replies View Related

Ubuntu Networking :: Bluetooth On 10.04 Doesn't Work?

Dec 22, 2010

i have had my bluetooth keyboard and mouse working fine for a little while now, then one day.. seemingly out of the blue (no pun intended) it stopped. heres what i deduced:

Mouse works fine, always keyboard doesnt.

I'm using a logitech dinovo edge

and i can manually force the keyboard to connect by putting the keyboard into discoverable mode (press the button on the back of it) and using hidd:

Code:
hidd --connect XX-XX-XX-XX-XX-XX
but who the heck wants to do that on every reboot or resume from sleep! yikes..
firstly, i noticed that bluetoothd was segfaulting alot:
Code:
ec 22 17:26:09 hostname kernel: [21329.811149] usb 2-6.2: new full speed USB device using ohci_hcd and address 6

[Code]....

View 1 Replies View Related

Ubuntu Networking :: 10.4 Network Doesn't Work Due To DNS

Jun 15, 2011

i've installed it on my parents old computer, mostly for downloading. But wired internet did work all the time but then i had to reset our router because of some problems and now it doesn't work anymore! But the strange thing is, if i put the cable on my own laptop with windows on it, then it works as normal.

So i guess its some kind of DNS problem, but i'm very new with ubuntu and also not so good with computers. Our network is simple just an modem connected to an router: Sitecome WL-341.

View 4 Replies View Related







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