Software :: How To Add Iptables NAT Exception
May 20, 2010
I'm having some trouble with NAT in my gateway.For the 10.13.0.0/16 network, I do not want to apply NAT through the gateway. However, the way it is configured, it is applying SOURCE NAT to traffic coming from 10.13.0.0/16 and changing source ip address to 8.8.8.1
For example, pinging from 10.13.0.11 to 10.101.14.1 (passing through the gateway, which is also a router in this case), then SNAT is applied and the ip packet gets changed to :
--------------------------------
| source address : 8.8.8.1_____|
--------------------------------
| dest. address_ : 10.101.14.1 |
--------------------------------
NAT's configuration in gateway/router:
Code:
iptables -t nat -A POSTROUTING -d 8.8.8.0/24 -o $EXTERNAL -j RETURN
iptables -t nat -A POSTROUTING -d 10.0.0.0/8 -o $EXTERNAL -j RETURN
iptables -t nat -A POSTROUTING -o $EXTERNAL -j LOG
[code]...
View 2 Replies
ADVERTISEMENT
Nov 26, 2010
I am unable to restore my iptables from iptables-save after upgrading Fedora. I cannot get iptables-restore to work, and I have resorted to entering rules manually using the GUI.
View 2 Replies
View Related
Sep 17, 2010
I am facing a strange problem witht my iptables as there are some firewall entries stored somewhere which is displaying the below firewall entries even after flushing the iptables & when I restart the iptables service then the firewall entries are again shown in my iptables as shown below,
[root@myhome ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
[code]....
View 6 Replies
View Related
Nov 3, 2010
I recently installed a new Ubuntu PC that runs iptables and PSAD. I had the same script on another Ubuntu PC, but when I copied the script onto the new PC, I got this error. I don't remember where I found the tutorial for this, all I know is that this is the script (Edited for my usage):
Code:
#!/bin/bash
# Script to check important ports on remote webserver
# Copyright (c) 2009 blogama.org
# This script is licensed under GNU GPL version 2.0 or above
[code]....
Safe.txt contains:
Code:
127.0.0.1
192.168.1.8
192.168.1.1
98.200.58.73
192.168.0.1
And the error message generated is:
Code:
root@NETWORK-SERVER:/var/ddosprotect# ./ipblock.sh
' not found.4.4: host/network `127.0.0.1
Try `iptables -h' or 'iptables --help' for more information.
' not found.4.4: host/network `192.168.1.8
[code]....
View 3 Replies
View Related
Jul 17, 2010
IPtables creates an error during startup as well as when I try to restart it: Here's the output of:
[Code]....
View 11 Replies
View Related
Apr 16, 2011
I am running Ubuntu server 10.10 and trying to setup iptables rules in /etc/if-up.d/iptables
Quote:
root@host# cat /etc/network/if-up.d/iptables
#!/bin/sh -e
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
Problem is that iptables doesn't get updated and I don't see them when iptables -L is executed after reboot.
View 2 Replies
View Related
Apr 28, 2009
To expand: I'm trying to set up a box with l7-filter, and I need to patch and compile iptables 1.4.1.1 as part of the process. I ./configured it with the prefix= argument so it would install into /sbin instead of /usr/sbin, and I did a yum remove iptables before installing it so as not to get in the way of the original iptables, but I'm wondering if this is really necessary - it's kind of annoying, because removing the original iptables removes the init.d script, deregisters the service, etc. If I don't, is it possible that iptables 1.4.1.1 might get overwritten in a system update or something, or will yum see that I've got a custom/newer version in there and leave it be?
View 4 Replies
View Related
Apr 7, 2010
system occurs "Too many files open exception" when application server run serval hours. I use "ls -l /proc/pid/fd" command view all fd in this java process.I found that the number of pipe is increase slowly and constantly.
Who can tell me What mean of follow line:
View 3 Replies
View Related
Jan 23, 2010
I tried to run xfire with wine (yes, i installed it with wine also from the installer) , and it gave me an exception error (picture in attachments), how do i fix this?
View 1 Replies
View Related
Feb 9, 2010
When i try to configure network in Fedora 8 i get this error: "An unhandled exception has occurred. This is most likely a bug"
View 1 Replies
View Related
May 12, 2010
I writed Quote:
#!/usr/bin/perl -w
use Error qw(:try);
try {
[code]....
View 1 Replies
View Related
Apr 21, 2010
I am writing an application that uses POSIX thread. I am spawning a threads and threads performs task in infinite loop .I have another monitor which monitors the activities of these threads. Due to some reason I have to kill one thread from monitor thread. so I use pthread_cancel() . It terminates thread however it throws exception. I searched about the exception on internet and i am able to catch the exception and handle it as well . However the exception is not thrown every time . I wanted to know under what circumstances it throws exception. Accordingly I have to write cleanup handler
View 1 Replies
View Related
Mar 8, 2010
I'm getting exception 13 when trying to use the latest qemu-kvm-0.12.3 on slackware 12.2 w/ stock 2.6.27.7 kernel:
Code:
exception 13 (6b)
rax 0000000000000010 rbx 0000000000008c00 rcx 0000000000006ebe rdx 00000000000c8c00
rsi 00000000f2010000 rdi 00000000000c0000 rsp 0000000000006eb4 rbp 00000000f2010000
[code]....
Google says this has something to do with Intel hardware and the way it handles real mode. run it with -no-kvm, but that's not much of a fix really.. so in the mean time I reverted to using qemu-kvm-devel-88 which works well, but is pretty old.
View 2 Replies
View Related
May 24, 2010
I want a internet browser to open a site that needs java engine,firefox has not this and also galeon :
The certificate is not trusted because it is self-signed.
(Error code: sec_error_ca_cert_invalid)
* This could be a problem with the server's configuration, or it could be someone trying to impersonate the server.
* If you have connected to this server successfully in the past, the error may be temporary, and you can try again later.
Or you can add an exception
You should not add an exception if you are using an internet connection that you do not trust completely or if you are not used to seeing a warning for this server.
If you still wish to add an exception for this site, you can do so in your advanced encryption settings.
How i can add exception or it is better to say me that :is there any browser instead of internet explorer for linux??
View 12 Replies
View Related
Feb 18, 2010
pidgin started crashing today for no apparent reason. It just shutdowns. No freezing or anything, it just goes away, disappears. From what I can say, there's no specific trigger for this, it can happen after 2 or 10 min after I started it. Once it even shutdown right 10seconds. I tried to run it from the terminal. When I do that, the only thing that appears before closing is
Code:
Floating point exception Anyone has an idea of what it can be? I made no upgrade to pidgin or libpurple recently. I made however an upgrade today of the following packages
Code:
Commit Log for Thu Feb 18 10:24:00 2010
[Code]...
View 1 Replies
View Related
Sep 29, 2010
I have a cron job that backs up some files over to an external disk.It ignores the hidden folders in my home dir, by using the --exclude-from option.However, there is one specific hidden dir that I do want to back up.Is there some way to add an exception to the list of exclusions?
View 2 Replies
View Related
Jan 5, 2010
I am facing floating point exception issues in running top on some of my Red-Hat Linux servers
# top
6:45am up 476 days, 52 min, 4 users, load average: 0.00, 0.00, 0.00
109 processes: 108 sleeping, 1 running, 0 zombie, 0 stopped
Floating point exception
When I am executing the same command using strace or ltrace, its running fine.
# ls -lrt /usr/bin/top
[Code]...
View 1 Replies
View Related
May 22, 2010
After completing the installation using kickstart , the exception is occured, just after performing post installation,i am sending the exception image
View 8 Replies
View Related
Jul 1, 2010
I am using a gateway server, 1st NIC eth0 which is acting as WAN (DHCP)and 2nd NIC acting LAN(static). I am using DHCP to assign IP to eth0 from a Wimax modem. I am also use it as a MAIL server (openmail), and as a DHCP server. My server is of RHEL and kernel version is 2.4.8.18-14 and DHCP client & server version - 30pl1-9. The prolem is whenever I run the command..
ifup eth0
getting the error...
Determining IP information for eth0.../ifup: line277: 23328 Floating point exception/sbin/dhclient ${DHCLIENTARGS} ${DEVICE}
so what should I do?? if I update the DHCP, would it be ok?
View 1 Replies
View Related
Apr 6, 2010
I have problem in installing Fedora10 on to a UsbHarddisk(transend 250GB).
After installation of some packages it is saying that "An exception has occured .It is possibly a bug.file a report to bugzilla.redhat.com".
The problem is that,ihave previously seen this kind of message a month ago.And when i tried to install the second time it is installed.
Can i debug it?
I have no problem when installing Fedora on to a normalharddisk.
Another question can i install both Gnome and Kde on the disk.
View 1 Replies
View Related
Oct 26, 2010
To parse several XML documents I'm using libxml++. I do programming for linux angstrom-armv5te. Because compiling libxml++ for this distribution and platform was impossible, I simply included the library to my project, which workes fine. Unfortunately I'm not able not use the exception handing which effects that a simple error inside a documents makes my whole program crash. This should not happen.
Is there a way to check the documents validity before parsing or better active the exception handling for doing this.
View 3 Replies
View Related
Mar 12, 2010
games, specifically solitaire and gimp both have started returning a floating point exception fault.
View 9 Replies
View Related
Jan 9, 2011
I had fuzzy icons in system tray so before couple of days i installed some updates and after that i have floating point exception in ktorrent and virtualbox 2.6.34.7-0.7-desktop #1 SMP PREEMPT 2010-12-13 11:13:53 +0100 i686 athlon i386 GNU/Linux
nvidia 9500 GT
X.Org X Server 1.8.0
KDE 4.4.4
Here is the updates
nvidia-gfxG02-kmp-desktop-260.19.21_k2.6.34.0_12-19.1 Tue 04 Jan 2011 04:14:42 PM CET
x11-video-nvidiaG02-260.19.21-20.1
[Code]...
View 4 Replies
View Related
May 20, 2011
My computer acts strange - sometimes reboots spontanousely, sometimes does not want to boot. When I isse command "mcelog", I receive such info:
[Code]..
How can I read and understand it? Could somebody point me to some documentation?
View 1 Replies
View Related
Oct 20, 2010
When I try to open Banshee, I can see the GUI for about half a second, then it closes with "Unhandled Exception: GLib.GException: Can't recursively copy directory".I'm running Ubuntu 10.10 amd64, and had an old version of banshee installed from a few releases back (don't remember which). I deleted the banshee-1 folder in my ~/.config directly, as well as uninstalled and reinstalled with no luck. Other Mono apps (such as gnome-do) work fine.Here is the full output of "banshee --debug":
** Running Mono with --debug **
[1 Info 21:09:19.692] Running Banshee 1.7.6: [Ubuntu maverick (development branch) (linux-gnu, x86_64) @ 2010-09-18 21:00:29 UTC]
[code]....
View 1 Replies
View Related
May 27, 2011
This is the first time I post a question on these forums My problem is as follows: I can't start gnome-terminal from the Applications->Accesories menu or from the Alt+F2 application launcher. I get a "Starting Terminal" in the task-bar that disappears after a few seconds and no terminal. I'm pretty sure there is something I did, but I can't really figure out what it is.
The things I've tried so far:
1. I used synaptic to remove and reinstall gnome-terminal. That didn't work
2. Started Xterm and tried to run "gnome-terminal". This is where it gets weird for me:
a. running the command as normal user I get a "Floating point exception" error and obviosly no terminal
b. when I do "sudo gnome-terminal" and enter the root password I get, as expected, a root terminal. I could live with that, but it's not ideal.
View 8 Replies
View Related
Aug 10, 2010
Squid acl rules can be configured to allow specific ip's to get full access, or rather skips the blocked site list.
acl <tag> src x.x.x.x
http_access allow <tag>
http_access deny blocksites
From all the ways i tried, squid does not log these urls. Is there a way to have squid log the urls requested from allowed ip's?
Specs:
squid ver : (squid/2.6.STABLE21)
OS : CentOS 5.5
View 1 Replies
View Related
Jun 18, 2011
I am going to start studying IPTABLES for Linux Firewall. Can any one suggest me the best Book for IPTABLES contains everything of iptables.
View 2 Replies
View Related
Nov 3, 2009
I have FC-4 with Squid and Dansguardian. Internet Users in my organisation are configured to use proxy with 8080 in browser IE. There's no issue with Users as DG working perfect for them. We have Business Development Team, as they need to do most of the research over internet, their IP's are included into "Exception IP List" in Dansguardian. Obviously these people will be excepted from all banned sites, BD Team able to do chat, play games and do social networking and other stuff over the net, which results in more bandwidth consumption and breaking office policies.
I have tried to implement SQUID ACL's to block few sites like " meebo.com, orkut.com,facebook.com etc" but SQUID acl's not coming into picture. any one who successfully blocked chat, banned sites and social networking in DG with my case.
View 1 Replies
View Related
Mar 30, 2010
Ubuntu 9.10 64-bit. I was importing photos into f-spot. Then my laptop shutdown because it overheated (a different problem). Now f-spot will not open. A dialog pops up and says "F-Spot Encountered a Fatal Error. Exception has been thrown by the target of an invocation." Here are the error details:
Code:
An unhandled exception was thrown: Exception has been thrown by the target of an invocation.at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
[Code]...
I've read somewhere that there might be a bug with themes, but I've changed mine back and forth. I don't really think this is a bug as much as something that happened when the computer crashed. I've tried uninstalling f-spot and reinstalling it, I get the same error above. Anybody have any idea on how to get it working again?
View 5 Replies
View Related