General :: Bind Ip And Mac In Iptables?
Jul 28, 2010
I want to bind ip and mac in iptables and the script i gathered and working on is as under:
#!/bin/sh
IPTAB = "/sbin/iptables"
macadds = "xx:xx:xx:xx:xx:xx yy:yy:yy:yy:yy:yy zz:zz:zz:zz:zz:zz"
ipadds = "aaa:aaa:a:a bbb:bbb:b:b ccc:ccc:c:c"
[code]....
When i run the above script, i get an error as "Bad argument yy:yy:yy:yy:yy:yy try iptables --for more information"
View 4 Replies
ADVERTISEMENT
Dec 23, 2010
What is the best IPtables configuration for bind DNS server.
View 3 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
Sep 3, 2009
I am configuring bind9 on fedora 9(sulphur).I have configured /etc/named.conf and created zone file in /var/named/I have started the service but when I am executing the command nslookup mydomain.com it is not able to resolve the name.Another problem I am facing when I do telnet localhost 53,I am able to connect.but when I do telnet myip 53 it does not connect.Seems to be a firewall problem but I ve disabled iptables selinux completely even I ve disabled dnsmasq but still not working.
View 1 Replies
View Related
Jul 8, 2011
what is bind vs bind-chroot vs caching-nameserver ?what is the different between eatch others ?
View 7 Replies
View Related
Apr 14, 2011
I'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?
View 1 Replies
View Related
Jul 5, 2011
I've read in several places that it is recommended to bind-mount /var/tmp to /tmp.This can be done by adding the following line to /etc/fstab:/tmp /var/tmp none rw,noexec,nosuid,nodev,bind 0 0How can this be beneficial? In other words why should we bind-mount /var/tmp to /tmp ?
View 1 Replies
View Related
Dec 23, 2009
In programming and various terminal programs (Screen, Vim) the [, ], { and } tends to be used a lot. I'm using a Norwegian keyboard where these are placed such that I have to stretch my fingers a bit too long for whats comfortable. To make it easier I though I'd try to make alt+[some key] be one of these characters. Is there a way that I can bind, say alt+� (Norwegian letter) to '{' system wide?Btw, is such thing called binding, mapping or something else? I'm getting a bit confused by the terms...
View 2 Replies
View Related
Feb 12, 2010
I am using RHEL5. I don't know to configure bind. plz give me step by step bind configuration process.
View 4 Replies
View Related
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
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
Jul 23, 2010
why but on one of my boxes I am having trouble adding a new zone with the BIND Configuration GUI. When I click New->Zone, it'd pop up a long form for me to fill out various things like .....
Cache Time To Live
Authoritative Name Server
Responsible Person E-mail
etc
I notice that on the working box, it'd populate the output of the "hostname" command onto the "Authoritative Name Server" field. However, on the box that doesn't allow me to add new zones, it uses something like localhost.
View 6 Replies
View Related
Dec 10, 2010
i just installed bind on my fedora 14 machine.and it work perfectly on the local-host, but my others machines can't use it.
by the way,I've already opened the port 53 .
View 7 Replies
View Related
Feb 25, 2011
I've tried setting up BIND from a fresh install. I've followed a few tutorials (all seem to follow a similar routine), but it doesn't appear to work properly.
This is what happens when I query my domain: [URL]
This is my named.conf file:
Code:
//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named";
[Code].....
I've compared both files to examples and they don't appear to be any different - I'm at a loss as to what is wrong or where I should start to troubleshoot it.
View 2 Replies
View Related
May 11, 2010
what is the use of bind & cache Pkg in DNS server is it posssible to configure DNS without cache & how
View 2 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
Aug 5, 2011
I have vps box with debian. I have two ip addresses, but first (default) is currently unavailable. In that case there is many problem. Fortunately wget has --bind-address option so I can download. My question is how can i configure apt-get, aptitude to use specific address?
View 1 Replies
View Related
Oct 31, 2010
I had installed BIND packages but /etc/named.conf file is missing as the packages are shown,
[root@nisserver ~]# yum list bind*
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
[code]...
View 3 Replies
View Related
Oct 14, 2010
I'm new to using a BIND DNS server. I currently have one set as a master zone on my LAN. My question is how can I add a record for my local lan that will resolve without typing in the FQDN? For example I want to be able to type "server" instead of "server.domain.com".
View 6 Replies
View Related
Mar 30, 2010
I just finished configuring my BIND DNS server through the Webmin interface.
When I try to start BIND, I get the following error:
Code:
This is the named.conf configuration file:
Code:
What I need to change in the file?
View 11 Replies
View Related
Mar 16, 2011
Ubuntu was a good choice for free server O/S. I am currently downloading it. My ISP wants to bind my static IP to a MAC address of the device that will be making my connection for me. Should my server be behind my router or in front of it? I kinda wanted it to be the access point and be able to monitor the usage from all the terminals in my house. We have 4 other PC's, a laptop and a PS3. My server is a Acer Altos G530 with 3.2 Xeon Processor, 4 gb of ECC DDR,
View 7 Replies
View Related
Mar 30, 2011
I have installated and configured Bind. But when I restart the named service, I am getting the following error.
31 14:29:16 Server avahi-daemon[2440]: Server startup complete. Host name is Server.local. Local service cookie is 1560939195.
Mar 31 14:29:46 Server named: /etc/named.conf:3: change directory to '/var/lib/named' failed: file not found
Mar 31 14:29:46 Server named:
Mar 31 14:29:46 Server named: /etc/named.conf:3: parsing failed
Mar 31 14:42:34 Server named: /etc/named.conf:3: change directory to '/var/lib/named' failed: file not found
Mar 31 14:42:34 Server named:
Mar 31 14:42:34 Server named: /etc/named.conf:3: parsing failed .....
I have configured forward and reverse zone.
View 4 Replies
View Related
Mar 25, 2011
I need to publish my local webserver from my lan to access outside using internet, I have public ips provided by ISP my local webserver address is 192.168.1.5 and I want to bind this local address to a public ip (Ex: 61.8.153.212) to use it out side my lan through squid.
View 11 Replies
View Related
Dec 5, 2008
From a scan with nmap,I saw that,on my desktop,3 services were visible,ssh(which I don't want to disable),rpc-bind and smtp.As far as I know rpc-bind and smtp aren't needed on a desktop pc(I don't plan on having a mail server,at least on this pc),but before disabling something I need,I am asking it here-do I need them for some vital service?I am running OpenSuse 11.
View 2 Replies
View Related
Sep 14, 2010
I want to let a regular user (not just root) restart apache on my Ubuntu machine.I was using /etc/init.d/apache2 so I figured this is what I have to set permissions for. I set the owner group for this file a group to which that user also belongs. I set the chmod to 775 but it didn't work. I then even set it to 4775 thinking this would totally make it work but it still didn't.I'm obviously giving permissions to the wrong file.
The error says:
Quote:
httpd not running, trying to start (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs But I didn't find httpd anywhere on my machine.
View 5 Replies
View Related
Jul 19, 2010
I am using Ubuntu linux, and I want fn + up key and fn + down key to change the brightness instead on fn + F4 and fn + F5. I've tried looking for something in the Keyboard Shortcuts menu, but there is no command or key specified to do that. I could make a custom key shortcut, but I can't find the command to change the brightness. Is there a way to make another key do this? My laptop is a Dell Inspiron 1545.
View 10 Replies
View Related
Jan 11, 2010
I've just configured a bind server for my home domain on Fedora 12. One thing that's buggering me is that Bind tries to do its lookups first with IPv6, which fails and then falls back to IPv4. This seems to me an unnecessary use of resources, so I'd like to turn this off. This is possible by using the option named -4, but there comes the part where. the Named start/stop script is defined in the /etc/rc.d/init.d dir, but how can I get Fedora to start this script with the named -4 option?
View 2 Replies
View Related
Oct 2, 2010
Need Bulk record creating for BIND DNS server. I have information in a file I need to crate a new zone and A-record. I have 10000 domains in a file. Is there any tool available to do this @ one go
View 4 Replies
View Related