Fedora Networking :: Iptables Redirects And Prerouting Settings Lost After Reboot

Oct 31, 2009

Im new to fedora 11 and iptables, and i need to set the following set of instruction so VirtuaBox can accept request from lan, to the mailServer in the guest os, but after restart fedora i have to input it all again.How can it become permanent entry in iptables.

View 2 Replies


ADVERTISEMENT

Networking :: IPTables Port Forwarding Using Prerouting Not Working?

Feb 18, 2010

I was trying to setup port forwarding on my setup. My network consists of:

Code:

[Server: xxx.xxx.xxx.15]
|
|
[ switch ]

[code]....

I ran the following 2 commands:

# iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j DNAT --to-destination xxx.xxx.xxx.15:80
# iptables -A INPUT -i eth1 -p tcp -m tcp --dport 80 -j ACCEPT

Yet I am unable to connect. Are these the correct commands? I am using IP Masquedering on the same box using the following commands:

Code:

$IPTABLES -P INPUT ACCEPT
$IPTABLES -F INPUT
$IPTABLES -P OUTPUT ACCEPT

[code]....

I don't think there is a hidden firewall in the switch but if these commands are correct, then I may need to contact my ISP and see if they are blocking the commands. I just wanted to make sure I was not doing some stupid mistake before I try to contact my ISP.

EDIT: Also, is it possible to forward Port 80 requests to different servers depending on the hostname used to connect, so say [URL] redirects to server xxx.xxx.xxx.15 while hhh.com redirects to xxx.xxx.xxx.16?

View 3 Replies View Related

Ubuntu Networking :: Wired Network Settings Lost On Reboot

Jul 30, 2010

I have installed Lucid in a new laptop. Things are running OK except for the following problem:

I connect to the network/Internet using Wired ethernet (TCP/IP) with static IP. Everytime I reboot/restart my network configurations are lost and I have to re-configure. I have googled this problem and have seen a few posts/bugs in launchpad etc. for what appears to be the same issue...but unfortunately I am not getting a clear solution to this problem.

Just for clarity, I am using the following commands to re-configure my network everytime:

Also note that I have already tried editing the /etc/network/interfaces and the /etc/resolv.conf files. But it seems that these are not being picked or are being overridden.

View 2 Replies View Related

Ubuntu Networking :: Txpower Wifi Settings Lost After Reboot

Jul 27, 2011

I turned down my txpower with the command: sudo iwconfig wlan0 txpower 3 Which works to fine turn down my broadcast power from the default value of 15 dBm to 3 dBm. But it is reset every time I restart Ubuntu 11.04 to the default value of 15 dBm. How do I save my modified txpower settings so they don't reset after a restart? It is really annoying having to re-enter the command every time I reboot my computer!

View 2 Replies View Related

Fedora :: 12 KDE Screen Resolution Lost Settings After Reboot

Feb 2, 2010

I've installed Fedora 12 KDE using VMWare, but I can't for the life of me get my display settings to stick. When I change the resolution, my display responds appropriately but upon logging out or rebooting, these settings are lost. Am I missing something completely obvious here?

View 14 Replies View Related

Ubuntu :: Settings Lost After Each Reboot?

May 16, 2010

I installed Kubuntu on my Toshiba A135 with no problems at all...everything works: sound, wifi, LAN, etc...BUT whenever I reboot/restart the computer my Display and Audio settings revert back to default, and it doesn't happen when I log out, just when I restart/shutdown the computer. I have an Intel 945GM chipset and I have set my external Acer 23" monitor as the default and only monitor with a resolution of 1920x1080@60Hz using KDE's System Settings...And I chose to disable the laptop's internal monitor...but whenever I restart, the display returns to a 1024x800 cloned resolution (the default one)...which by the way looks hideous on a 23" monitor. And also the sound mixer goes back to the default levels.

So, can anyone help me out? I've been using Ubuntu for over 3 years and I've never had any problems like this one. I have just fell in love with Kubuntu, it looks and runs great, but this problem/bug is keeping me from being comfortable with it... I've been reading some things about XRandr and some commands and stuff and nothing have worked until now. I wonder, is it a common bug in Kubuntu or maybe an erroneous setting in the session manager....?

View 5 Replies View Related

OpenSUSE :: Plasma Settings Get Lost After Reboot?

Sep 5, 2011

I run OpenSuse 11.4 with KDE 4.7. When I change the positions of icons in the main plasma panel, or reshape folder view plasmoids on my desktop, these changes are lost when I start my computer the next time...

View 9 Replies View Related

Hardware :: Display Settings Lost On Reboot?

Jul 21, 2010

I'm running PCLinuxOS 2010.07 (KDE) on my Acer laptop with Intel Mobile GM965/GL960 Integrated Graphics Controller. I have an external Acer monitor that displays at 1920*1080. I have selected my laptops internal screen to be disabled and use the external screen. The PC LinuxOS Control Centre selected the 'Intel later than 810 driver'. All works well whilst I'm using my system but when I turn off and reboot the settings are lost and I have a 1280*800 display on my laptop and the same on my external screen. Resetting the Display using Configure your Desktop allows me to reset the external monitors to my preferences but how can I make theses settings permanent?

View 4 Replies View Related

Ubuntu :: Visual Effects Settings Lost On Reboot

Apr 30, 2010

I have just upgraded to Lucid Lynx. Just after that the borders of disappeared. Anyway, I found out I can get them back if I enable Standard Visual effects from the appearance menu. The only problem ?i have is that the options don't get saved and I need to do this over again every time I reboot.

View 9 Replies View Related

Security :: Iptables Requirement \ Package Passed Through Masquerade Don't Pass Through The Prerouting Rule?

Nov 26, 2010

The iptables has every rule set correctly, the users in the subnet works great, but I have the following issue.every user connect to a mysql running on the internet through the port 3306, the forward and masquerade do the job. Now I have a user in the outside, and he wants to connect to a mysql in a certain machine (Not the gateway), prerouting rules solve my problems, but all the packages from the inside users goes now to that certain machine. I would like something like if the package passed trough masquerade don't pass trough the prerouting rule, and if it come from the outside (Not a package that come from a petition from the inside) pass trough the prerouting rule.

View 6 Replies View Related

Server :: Iptables PREROUTING \ User Via Internet Access LinuxA Tcp Port 1935?

Oct 20, 2010

LinuxA & LinuxB
linuxA:eth0(10.1.1.1) connected linuxB:eth0 (10.1.1.2)
linuxA:eth1(202.1.20.45) connected internet

[code]....

View 2 Replies View Related

Fedora Networking :: DNS Lost After Every Reboot?

Mar 2, 2009

I have entered my primary and secondary DNS addresses through Network Configuration tool (system-config-network). But whenever I reboot the system it loses the DNS addresses. Following another thread, I tried changing the PEERDNS=no in ifcfg-wlan0; but it didn't work. I also put both DNS addresses in the ifcfg file, but that didn't work either.Does anyone know a solution to this?$ uname -aLinux fedoralinux 2.6.27.15-170.2.24.fc10.i686 #1 SMP Wed Feb 11 23:58:12 EST 2009 i686 i686 i386 GNU/Linux

View 11 Replies View Related

CentOS 5 Networking :: Iptables Empty After Reboot?

Aug 5, 2009

I have a strange problem with IpTables.after a server reboot, the complete rule-list of iptables is empty. After a manually start, all my old rules are there again.I checked chkconfig if autostart of iptables is enabled:chkconfig --list iptablesiptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off

View 2 Replies View Related

Networking :: Settings Up IpTables To Log Bandwidth On Ubuntu

Mar 1, 2010

I would like to set up a logging system for rtorrent, the only way that i could think of this would be to set up bandwidth moniters in the ip tables but im not sure how to go around this.

View 1 Replies View Related

Ubuntu Networking :: Lost Network Settings

Mar 25, 2011

My first post. I lost all connections to the internet on my Linux Box Yesterday. I have checked my broadband connection and router. OK because I am using them to sent this from my laptop. I have 2 ethernet cards - no indication of a problem with either so I suspect for reasons unknown I have lost all my network settings. The Desktop User Guide says go to the Network Settings Window. I used to have a widget on the Menu Bar which enabled me to check the settings but for some reason it vanished a month or so ago and I can't find how to get it back.

PS In the meantime I am stuck with this crummy Microsoft box the interferes with everything I try to do.

View 3 Replies View Related

Networking :: Prerouting - Port Forwarding ?

Jul 24, 2010

Have router running Fedora 11 with eth0 - Internet (with static IP) and eth1 - LAN using IP 192.168.0.8.

I want to contact over RDP my Windows 7 machine, so I added to iptables:

But this won't work.

View 9 Replies View Related

Ubuntu Networking :: Madwifi Driver Lost After Reboot And Suspend?

Aug 7, 2010

I have a bit of a silly question, as I should know better, but I have a Toshiba A200 laptop that wasn't working well with the default ath5k driver so I switched to madwifi. It works great, but after the laptop goes into suspend or reboots, the driver doesn't get loaded and wireless isn't available.

I've been working around this by going to proprietary drivers, which shows the madwifi driver. When I say activate, it comes back with a failed message but works.

I'd like to save myself from going through this several times a day, but I'm not 100% sure what to do. Do I add madwifi to modprobe or something like that?

View 1 Replies View Related

Ubuntu Networking :: Loosing Static IP Settings After Reboot?

Dec 1, 2010

I'm Using the latest Kubuntu 10.10 with the default network manager -- which I think it's called Knetwork manager.

I have set up a static IP by adding a new connection using this manager and then clicking it so that it is used to connect. But as soon as there is a computer reboot the connection falls back to the original autoeth0 which has dynamic IP on and which I cannot change or delete.

View 7 Replies View Related

Fedora :: Settings Not Saved After Reboot

May 24, 2010

I'm having a problem with the mesa-dri-drivers-experimental, I bought a new monitor, Samsung 24" Widescreen LCD Monitor (B2430H) and my old monitor was a 24 inch too but with a different native resolution, my new monitors native resolution is 1680x1050 and I try to change the settings in the system settings/ display/ size&orientation area since the mesa drivers don't have a xorg.conf but my settings don't save after a reboot. Is there a config file for the mesa-dri-drivers-experimental where I can change these settings?

View 5 Replies View Related

Fedora Hardware :: Sound Options Lost On Reboot

Jun 7, 2010

I have the following problem:

After I installed the new Fedora 13, all went well without problems.

Unfortunately, the sound settings are not retained. That means after a reboot, I have to set this again and again.

I have an: HD 5.1 Intel OnBoard Sound Card. I run "gmix" or "kmix", the rear wheels boxes are always "mute". I put on this, but after the restart the setting are lost.

The PulseAudio settings are set to 5.1 Digital Sound.

What can I do to go the the settings are not lost?

View 3 Replies View Related

Hardware :: Gpointing-device-settings Settings Will Not Stay After Reboot?

Oct 18, 2009

I am running a debian squeeze machine on a ibm t40 laptop with window maker as my window manager. I am using gpointing-device-settings as a program to get the scroll bar on my touch pad working. unfortunately, I can't get the settings to stick after i shutdown and turn on. I have to go into the program and unclick then reclick the button. i'm using version 1.3.2 (ive tried both deb and source versions). does anyone have any ideas on how to fix this? and if there is any configure files that I could configure instead of having to use the gui program.

View 4 Replies View Related

Networking :: Accept ICMP Redirects Not Originating From Default Gateway

Mar 9, 2011

Struggling to get my Linux server accept ICMP redirects not originating from default gateway. No problem to get it working if the redirects is originating from def gw.I know it's not a good solution security wise, but my network is so cluttered I'm forced to do so.

View 1 Replies View Related

Ubuntu Networking :: NFS Mounts Cause A Hang On Reboot Of The Mounts Are Lost

Nov 24, 2010

I have multiple ubuntu machines and I connect to one through an NFS share. I have done this for a few years without issue. However, since re-installing ubuntu and upgrading to 10.4 I have a problem with my system hanging when the remote shares are lost.

Basically, I can power down the machine downstairs, and my main machine then has a fit. I can not open any folders in ubuntu, nor can I shut down. If I try and shut down the system hangs, last time it hung for 8 hours before I had to kill the power.

These are the lines in my fstab

I don't know what I've done wrong, or how I can prevent this from hanging. I have googled the heck out of this as well and can't seem to find an answer either.

View 2 Replies View Related

General :: Iptables Not Loaded At Reboot?

Dec 26, 2010

I ran iptables save but on a server reboot it just loads the default firewall config. how I can get it to load and flush my custom iptables script on reboot?

View 1 Replies View Related

General :: If Server Restarts Does Information In Iptables Get Lost?

Aug 9, 2009

If the server restarts, does the information in iptables get lost? I have seen a number of pages where people recommend readding lines or creating bash scripts to get it to work again. What about files like squid.conf, ncsa_auth files, etc.?

View 10 Replies View Related

General :: Startup Script - Getting IPTables To Survive Reboot

Aug 22, 2010

I am trying to follow the info on Getting IPTables to survive a reboot. Everything works until I reboot but the script does not run when linux starts. The article says to create a script so ifupdown loads these rules on boot:

Code:
echo "#!/bin/sh" > /etc/network/if-up.d/iptables
echo "iptables-restore < /etc/firewall.conf" >> /etc/network/if-up.d/iptables
chmod +x /etc/network/if-up.d/iptables it put what I think is a symlink in if-upd but iptables still does not survive reboot.

View 2 Replies View Related

Ubuntu Security :: IPTABLES Default Settings ?

Sep 1, 2011

I am currently trying to best configure my Natty Narwal linux distro. At boot, the system is configured to automatically connect last Wifi network. When I connect to the WIFI however a whole bunch of instructions are loaded in the IPTABLES.

View 1 Replies View Related

Ubuntu Servers :: Lost GUI After Reboot?

Apr 25, 2010

I was using Ubuntu 9.10 and was using fireftp ( firefox plugin ) to do some ftp operation. And then I noticed firfox is fozen so I reboot my pc by switching off the power ( restart doesn't work ). When I turn it back on again, no GUI anymore. I was taken to ttyl login commend.

View 3 Replies View Related

Ubuntu :: Wifi Key Lost When Reboot?

Jun 6, 2010

After serveral reboots without problems. My Xubuntu 10.04 LTS now asks for my wifi security keyat every boot. Somehow It looses it.

View 1 Replies View Related

General :: How To Go Back To Default Iptables Settings In Ubuntu?

Aug 16, 2009

I'm running Ubuntu 9.04 and started messing around with my firewall, it got a little too complecated for me, so I just would like to be able to somehow restore the default iptables setting. Any idea how I can do this?

View 7 Replies View Related







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