General :: Location Of Iptables In Opensuse 11.2?
Apr 30, 2010what directory is the iptables configuration file located in? i'm not used to opensuse and i've been looking for it for a while and can't seem to find it.
View 2 Replieswhat directory is the iptables configuration file located in? i'm not used to opensuse and i've been looking for it for a while and can't seem to find it.
View 2 RepliesI wish to change the default location of IPtables file from /etc/sysconfig to somewhere else. But i am confisued about it. please help me to solve this problem.
I.E. /etc/sysconfig/iptables to /etc/XXX/iptables
I'm setting up a server with Jaunty Jackalope version. I'm trying to test setting up a basic iptables rules... No matter which command I put in, it is failing on the first command when I run iptables-restore < file location (the first rule always fails). I'm doing this on the root user and first typing in the iptables rules in a test file. I've tried the first command starting with % sudo, iptables and -A. All have the same result. I've also tried letting the HTTP rule be first with the same result.
[Code]...
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]....
I'm working with a program that uses Open Motif to create all of the widgets, including the Open File dialog box (obviously). However, Open Motif being kinda old-timey, 80's vintage, and for the most part now an abandoned project, it is quite clunky. So, actually what I need to do is to open some files located on my work server. I have already successfully connected to the relevant server directories with Samba, and with programs built with GTK+ (such as GIMP) I can open files across the network because I have created a bookmark in Nautilus, and those bookmarks appear in the Open File dialog box created by GTK+. Now, Open Motif is different: it doesn't see network locations, orNautilus shortcuts. When I type "smb://serveripyadayada" in the search folder, it really doesn't like it and complains. So, what do I do? Can I get somehow Open Motif to open a network location? Or can I do a run-around and place a shortcut in the file system that points to the network location?
View 2 Replies View RelatedI have been testing ubuntu 10.10 maverick, it has some nice features. Anyway I am missing the possibility of writing manually the folder you want to go on nautilus using the Location bar. It was used to have some kind of icon which you can click and it switched between graphich breadcrumbs or the location of the folder and you could changed it manually, you know what I mean?
View 2 Replies View RelatedI'm working on a Soekris net4801 that is running an unknown distro of Linux. The kernel is 2.4.29, and iptables is v1.3.4.
I can't work out how to save the iptables. I searched the whole system for files/folders containing the name "iptables" and got 3 results:
/user/local/lib/iptables
/sbin/iptables
/lib/iptables
I've tried iptables save, iptables-save and iptables save active.
"iptables save" and "iptables save active" give me an invalid argument error. "iptables-save" isn't a valid command. "iptables --help" gives me a list of valid switches, none of which have to do with saving.
how I can save the iptables?
me where I can find out about file locations in kde4?
View 1 Replies View RelatedBecause I had Windows installed first, the bootloader was located in that drives master boot record and the openSUSE drive was slaved to it. Now that Windows is gone and the Linux drive is bigger and faster (although the same Ide (pata) ata rating. There are no sata devices in my system.) I want to reverse the master slave relationship between those two drives and put the bootloader on the openSUSE drive.
At the moment a single instance of openSUSE 11.4 is the only operating system installed on the computer I'm talking about.
What procedure should follow to accomplish that?
I have an opensuse server which handles 5-8 sites, a mail server and a nameserver.I will move it to a new location and I'll have a different IP. Now, I didn't configure the server myself, so I don't know what to do so that the mail server, the sites and the nameserver to work in the new location with a new IP.
Does it suffice to change the IP of the nameserver from my domain registrar? What any other modification I'll have to do in order for the mail and sites to work at the new location?I searched tutorials on moving a server to a new location but I didn't find any...
How can I mount a webdav location to my 11.3 pc at home so I can access the same files that I do via my ipad while I am on the move.
I have an mobile-me account therefore I use idisk.
I would like idisk mounted so it appears as a folder on my desktop at home, so I can edit the same documents without having to upload and download using a web browser.
is this possible?
the idisk url is https://idisk.me.com/YourMemberName/
I have an install of OpenSUSE (11.4) and I'm running vsftp. We have several companies already running scripts on their end to pull all the files out of a mounted Windows share, then delete the contents of that folder. What I'm needing to do is after the files are dropped on a mounted Windows share, I need to somehow connect to an FTP server at another location, send all the files from that Windows share, and delete all the contents from that share. And on top of that, I would like to have this happen everytime a file is placed in the folder or at regular 2 hour intervals or something like that. Can someone point me in the right direction to learn how to do this. I'm fairly familiar with OpenSUSE but this is beyond my knowledge, for now.
View 5 Replies View Relatedi found that 10.04 hasn't edit location icon at location bar of nautilus. how to get it?
View 2 Replies View RelatedI 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 RelatedIn the last couple of days when I start Kontact it gets frozen on FEEDS. I have tried to start all of the applications within Kontact separately and they all start fine except for Akregator i.e. Feeds. I have been looking for a debug howto or a log file location to try diagnose where/what the problem is. Opensuse 11.2, KDE 4.3.5.
View 3 Replies View RelatedI created a link on my Desktop to point to the Netbeans IDE. However, it's giving me the default icon. I want to change the icon. I figure I can do this in the Desktop Configuation file. But I'm not sure what location the configuration file is looking for icons?SUSE 11.3KDE 4.4.4
View 3 Replies View RelatedI have installed and reinstalled wine about 3 times now, and the installation thinks the wine path for the "C:" drive is in my Documents folder.
I am using OpenSUSE 11.4.
This is the error I get:
Unable to run the command specified. The file or folder file:///home/jonathan/Documents/.wine/dosdevices/c: does not exist.
Is there a way I can change this to another directory?
Also, when I look at the directories under ".wine", I see this:
Code:
I have an external USB had drive. It is a Buffalo drive. When it is mounted it appears in /Media/Buffalo. The problem is, every time I reboot my system it is mounted to a different location.
e.g. /Media/Buffalo_1
reboot again and it is mounted to /Media/Buffalo_2
The two previous mount points always remain present as empty directories. This is creating problems I need to do away with. I need to work out how to get this to mount to the same directory every time. In opensuse 11.2 with the automount option installed I did not have this problem. It has only appeared since the install of 11.3.
rather after I have had no problems installing 11.3 on a new hard drive, , can I simply mount the old one and copy libdvdcss to the same location on the new drive, or does it need to be "installed"?
View 5 Replies View RelatedI 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]....
IPtables creates an error during startup as well as when I try to restart it: Here's the output of:
[Code]....
I have opensuse 11.4 in which I am trying to install Moodle 2.02 on my server. In the install.php it asks for where you want to place your moodle and moodledata directories, which in the default installation of Moodle in Opensuse is /srv/www/moodle and /srv/www/moodledata. It initially automatically fills in /srv/moodledata for the moodledata directory. When I change it to the default opensuse location it balks at the /srv/www/moodledata with "Dataroot location is not secure". It won't let me get past it. I have Moodle 1.99 running on opensuse 11.1 with those same directories. What can I do to get around this error message?
View 4 Replies View RelatedI 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.
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 RelatedI have openSUSE 11.3 Gnome installed. The nautilus address bar shows the "Button Bar" and if I press Ctrl+L it swaps to the "Text Location Bar". The Text Location bar is where you see the full path to the directory that you're viewing.But I can't set the default addressing to the Text Location Bar.What else should I do to get the text location bar (i.e. the full path) to be the default view in the address bar?
View 4 Replies View RelatedWe are on a vps with godaddy and i was just curious that where are all the .MYI files saved
View 1 Replies View RelatedI set up a squid transparent proxy and I have a problem with an iptable rules. I have a rule to redirect all request to port 80 to go on port 3128. To do so, I'm using this iptables command :
Code:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
This command is working like a charm. The only problem is, for some unknown reasons, this rule will be dropped at some point. I did not manage to identify what is causing this to happen. It occurs during night, but I have nothing about that in my log files. messages / firewall / ...) The only way I managed to reproduce this 'dropping' is this one: I type the command like as root. The command is effective and working fine. I open yast, I go to the firewall module, the I do a simple "save changes and restart firewall" (without changing anything). As soon as this process is finished, the iptables rule is gone.
-How can I make this rule permanent ?
-Is there a place where I can launch a script executing this rule, after the yast firewall module is 'touched' or something ?
I have a Suse 10.3 router with 4 network cards. 1 is to connect to the big network and thereby also the internet, 2 are for 'client' subnets and I want to use the last one as a DMZ. In this DMZ will be a web server which has to be accessible from the other 2 subnets and from the big network. I could do it with a few simple clicks in Yast firewall, but I have some issues with this firewall and there for I want to use it as minimal as possible, using Iptables.
So now I'm struggling a bit with Iptables. Basicly what I'm looking for is how to block all ports but 80 in this last subnet with iptables.
I am trying to setup a scenario where I am able to control the access to certain html files. I'd like forbid access to the URL: url
my iptables rule in "SuSEfirewall2-custom" looks like:
iptables -I INPUT -j DROP -p tcp -m string --string ".*test.*" -algo bm
--dport $port
As a result, I get:
#> rcSuSEfirewall2 start
Starting Firewall Initialization (phase 2 of 2) Bad argument `--string'
(same for "-string")
I am in the process of enabling Samba client and server on my opensuse 11.3 32-bit workstation, and have just looked at the firewall rules (via iptables -L) prior to enabling these applications.I have used iptables a lot before and despite having my network interface defined as being in the External Zone (ie the least trusted, and therefore supposedly the most protected), the first rules in iptables are as follows:
INPUT
target=ACCEPT, prot=all, source=anywhere, dest=anywhere
OUTPUT
[code]....