General :: Iptables For Personal Computers
Mar 28, 2010I need to setup my iptables rules for my computer to allow request and respond to HTTP, this is what I have so far. Does this look right?
View 4 RepliesI need to setup my iptables rules for my computer to allow request and respond to HTTP, this is what I have so far. Does this look right?
View 4 RepliesI 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]....
im trying to connect two computers on lan.One computer has: VMWare Workstation and has Opensuse 11.3 mounted in it.The other computer has: VMWare Player and has Opensuse 11.3 mounted in it.Both computers are connected to a switch with cables.I have followed this guide in both computers:Depanati singuri calculatorul!: Opensuse 11.3 - configure local networkin order to setup a network.In one computer, if i go to: Computer---Network---Network folder, i only see one machine. When in fact i could see both of them right
View 9 Replies View RelatedI'm working in a lab running a CentOS server with Perl 5.8.8.
I would like to install a newer version of Perl for my personal use only (i.e. do not affect other users). How can I do that?
How to use a personal computer as a Linux web server for development purposes.
Is it possible to have both Windows XP and Linux web server in one computer?
I'm looking for an application which does what is commonly termed as Revision Control (RC). Here is the scenario: I have a directory holding numerous files and subdirectories, all belong to a project I work on. I routinely edit/update some files and wish to record `snapshots' of the entire directory so I can compare different revisions. Of course I can store a tarred version of the directory everytime I change something but this is immensely inefficient. So What I would like is to `upload' a snapshot into an archive file everytime I change something and then being able to `download' a snapshot later (for comparison/backup). Only I work on the project and I use a single machine so everything is local (no network connections).
My requirements are:
1. Being able to easily download/upload with one command an entire directory with all its files and subdirectories.
2. Any change to the directory induces a new version including renaming/moving files (even if their content hasn't changed)
3. The snapshot is aware of symlinks and saves them as such (and not as file they point to).
4. The files in a snapshot retain their original date when I `download' from the archive.
5. A GUI allows to easily navigate between stored snapshots and see which changes occurred.
I've been receiving a LOT of log cruft ever since I installed my WUSB100V2 (using the rt2870sta community driver from the Linux kernel) and was wondering what it all meant.
Many times when these messages occur it is accompanied by slow network speeds and many DNS queries and outgoing SYNs being dropped. I have searched for documentation for these (error?) messages and have come up empty as far as what they mean or how I can stop them from occurring.
I reside on the opposite side of the building from my WAP. I have taken steps to improve the signal strength, but the signal quality hovers between 50% and 70%, sometimes dropping to 40% for unknown reasons.
My /var/log/messages:
Sep 12 05:04:40 necronomicon -- MARK --
Sep 12 05:29:48 necronomicon kernel: 0:3 LTL=0 , TL=0 L:4284
Sep 12 05:29:53 necronomicon kernel: 0:3 LTL=0 , TL=0 L:4104
Sep 12 05:30:06 necronomicon kernel: 0:3 LTL=0 , TL=0 L:4156
[code]....
In linux version of firefox (specifically in my case Debian's rebranded Iceweasel), folders of bookmarks in the personal toolbar show a little down arrow on the right of the name. It serves no real purpouse and just takes up horizontal space, is there a way to remove it?
View 1 Replies View RelatedCould you suggest feature-rich disk-based personal backup program for Linux (and I've seen a few)?
I want to do nightly backups of the whole system and be able to rollback to any of last 7 days. And, it must be incremental backups. What tool should I use? The tutorials I've read about rsync tell only how to store latest incremental backup and I need last 7.
Where or How do i get the link or program to download personal security manger on my computer ?
View 1 Replies View RelatedRT2500 wifi card could not connect to wireless router using WPA personal.OS - RHEL4; Dell Inspiron C600; interface detected ra0
View 12 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?
In my home I have 2 local networks. Now on some of the MS machines I can't see shared printers vice versa with Linux machines. There is some software that I found befor I could setup and allow me to see across a WAN.
View 8 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 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 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 write this script:
[Code].....
i make this script to become a service ( i test it from bash, and my script work good), my problem is when i telnet to my local host (127.0.0.1) via a personal port like 5555 telnet give this error: ")syntax error: invalid arithmetic operator (error token is ", i know this error is for echo $(($A+$B)) and i know that telnet can not calculate $A+$B and the error is for this
I have two computers with Ubuntu 10.10 on them, a desktop and a laptop. I have two options for handling them:
Try and keep them the same
Accept that they have different 'personalities' and branch off their on way
However, I've chosen the first option because I like to keep my files and settings the same on both computers. I am in the process of extracting a tar archive I made of my entire desktop's hard drive (9.7GiB) onto my laptop, so after this is done they will be exactly the same. However, upon turning the laptop on with my freshly-copied system, things will become different. If I take the laptop to school, for example, and do stuff there, then come back home, and do stuff on my desktop, how can I sync these computers (both ways!) with the new changes at the end of the day/week/whatever?
I want to transfer files (a music folder) between two Linux computers. After searching for the best way to do this, I've seen that there are lots of ways of doing this. I know this has been asked a lot, everywhere and all the time. The main problem with this is that there is no clear, recent consensus on one best way to do this task in 2011 for Linux beginners (even depending on some parameters).
So in the spirit of the Stack Exchange websites, I want this not to be related to my particular situation, but more of a guide to others as well on how to transfer files between two Linux computers over a local network. I think a wiki would be useful for many.
Here's what I found so far:
ssh
sshfs
scp
sftp
nfs
samba
giver
What is the easiest? Most flexible? Simplest? Best solution? What are the pros and cons of each? Are there other (better) options? What are the parameters in choosing the best method (solution might depend on number of files, filesize, easiness vs. flexibility, )?
I'm looking to install Linux on two of my home computers. Here they are, with a brief description of what they will be used for. Rig #1: main desktop: Dell Dimension, P4 3.0GHz, 2GB Ram, 128MB PCIe Video Card Currently, I have WinXP Pro installed and it is my main workhorse computer.
I would like to have a fairly full featured distro that I can test drive as an alternative to WinXP (which I use mostly for web browsing and mp3s and games... I know I may be out of luck with getting many of my games working on linux, but I can live with that). The only other caveat with this machine is that it has to work using a USB wireless network adapter. The wireless router is nearly inaccessible and too far away to plug into. And there are no wired ports in the house.
Rig #2: old computer: Celeron 850, 512MB Ram, 30GB HD, 64MB AGP Video card My really old computer that has just been sitting around collecting dust. I would like to install a fairly lightweight distro (for obvious reasons) to play around with. Maybe get some experience using linux from an admin perspective, like installing/compiling packages, running servers, etc...
I have already tried to install Linux Mint and Xubuntu on my main desktop. While both installed without any errors, neither of them was able to boot into linux. Presumably because of this bug:
bugs.launchpad.net/ubuntu/+source/grub2/+bug/403408
Which seems to be a problem with Grub/Ubuntu. So I'd like to stay away from Ubuntu. So what are some distros that you guys would recommend for these two rigs, given my potential uses/limitations?
I would like 2 computers (same network) to use the same SQL database. How should I start?
View 2 Replies View Relatedi am currently running Ubuntu 9.10 on my laptop, and the 9.10 netbook remix on my HP Mini. I have set up a Samba connection, so I can access the files from my laptop from the netbook, but I am wondering about software to make synchronization of particular folders in my home folder easier, especially since with my setup now, if I access my laptop's home folder from the netbook, I can see all the folders, including the hidden ones!
View 3 Replies View RelatedDo you know some source that has statistics/estimations about this?
Any sound guesses?
I have a Windows 7 Desktop and an Ubuntu Laptop connected with a KVM switch. I use the setup for software development, so I am constantly switching between the two, so I need a way to quickly transfer files between the two. I'm not sure if this is possible, but if I could connect them in a way where the OS of each mounts the hard drive of the other. Is there a way I could do this?
View 3 Replies View RelatedTwo GNU/Linux computers are playing the same video with mplayer (or vlc or whatever).
How to sync the pause/seeking/FFw between them. Like when I press pause on master computer, the other one is also paused on the same frame.
(Expecting both player-specific and universal approaches)
I often use an SSH tunnelling on my computer, using a SOCKS proxy.
ssh -D 1234 example.com
However, this only accepts local connections. I would like other systems on my network to be able to use the proxy on my computer as well.
How can I achieve this? If SSH doesn't have an option itself I imagine it might be possible to have a program proxy the proxy on a different port, but I don't know if there are any common tools to do this.
I was wondering if it were possible to add devices to my computers /dev folder over a network. In linux philosophy, everything is treated as a file, and if I can have my /home/user1 and /home/user2 folders located somewhere on the network, why not the devices in /dev? The idea is that I might control, say, a cd drive in another computer or, a monitor on another computer. Can anyone give me some thoughts on adding devices to my /dev folder over a network? The aim is to make something evil of course! (like a 10 monitor PC)
View 2 Replies View RelatedI have been trying to remotely access another computer (which is outside my local network) with ssh and have not succeeded. I've done everything I've seen nothing to suggest and as I opened port 22 on both computers, I have ssh configured so as to allow access from any computer (with password) and tried to log in using the external IP (the encounter with these online pages of "what is my ip"), I have a firewall turned off, the pc from which I agree is Fedora 14 that I want to access MacOS 10.5.8.
I need this because I'm running a very heavy program at the university that I can not run on my personal laptop, but do not want to have to go every day to college for this.