[SOLVED] Whether ufw iptables support nating & Mac address restriction through firewall
location: linuxquestions.com - date: March 5, 2012
Hi,
im basically using of centos version of linux operting system .Currently im migrating the centos distro operating system to ubuntu distro .Just im facing out few problem in configuraing firewall setting in ubuntu distro .i gone through the ufw firewall configuration in ubuntu server but i could int get for nating as well as macaddress rejection through ufw iptables firewall.
Mac address Rejection rules which i followed in configuration in centos distro
-A RH-Firewall-1-INPUT -m mac --mac-source OT.09.wd.oE -j ACCEPT
nating
# /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
# /sbin/iptables -A FORWARD -i eth0 -o eth1 -m state
--state RELATED,ESTABLISHED -j ACCEPT
# /sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
1.https://help.ubuntu.com/community/UFW
2. https://help.ubuntu.com/8.04/serverg.../firewall.html
can anyone help me how can i enable nating and macaddress rejection rules in ufw firewall in ubuntu .Whether ufw firewall support nating and mac addr
How do i change my ip address?
location: ubuntuforums.com - date: August 14, 2011
HOW DO I CHANGE MY IP ADDRESS ? I read the how tos and did something in the terminal..but I am not sure..I am stupid and I dont know what I am doing. Can I please have some help? Thank you
unwanted blocking ip address and session log out in ubuntu 10.04 server (Zentyal)
location: linuxquestions.com - date: June 29, 2011
hello
I have UBUNTU server 10.04 LTS with 3 NIC "eth0" local and eth1,2 as internet connection and it acts as firewall, http proxy and samba file server ,I installed Zentyal panel manager for my server for easier management I did not configure any specific rule for my firewall but I have some problem with my clients who wants to connect to my server as gateway or as file server even my self experienced these problems too. these problems are as follow:
1. some time for a few minutes (maximum 10 minutes) my server block some of my clients to access it or internet but just for minutes but it is very annoying.
2. all of my clients those who login to an https servers or login to their mail or those who has some software like team viewer say that they are logging out from their session randomly I mean some of them logging out from their mail(yahoomail or googlemail .... ) or disconnecting from teamviewer connection or as I saw team viewer disconnecting for a few seconds and th
How to get Tor & Vidalia to change ip address
location: linux.com - date: July 25, 2011
OS: Ubuntu 8.04 Hardy
Comp: Dell 1420
Browser: Firefox 5.0
I installed Tor and Vidalia using the instructions here:
http://www.ubuntugeek.com/howto-inst...in-ubuntu.html
When I start Vidalia, under "Tor Status" it has the green onion and says "Tor is running." And I have the green onion up on the right on my Ubuntu toolbar.
But when I check my ip here: http://www.whatismyip.com/
It's the same as it was before.
I installed Tor so that I can use a proxy to get a different ip ... so what am I doing wrong - or what do I need to do to get a different ip?
I'm new to Tor and Vidalia, and still a novice Ubuntu user, so would appreciate any help in getting another ip. Also, is there a way for me to choose the city of the ip I'm getting through Tor?
Ubuntu Server: Block all MAC address with exceptions
location: linuxquestions.com - date: April 30, 2012
Hi.
I'm sitting with a quite annoying problem.
Some kids are trying to get into my SSH, and it's filling my logs daily to be over 5 MB.
My server is running Ubuntu 11.04 LTS.
I want to do, so that only those I approve can use port 22, and the current users has dynamic IP addresses, so my only option is to filter on MAC address.
We cannot get a static IP address at all, our ISP doesn't accept that, and we got no other options for ISPs.
I've tried with IPtables, but it works quite bad to be honest.
I added my own MAC address to start off with, then I added my brother's MAC address, and for some reason, I couldn't connect on port 22 at all.
Anyone who knows how to do this?
NB: The server is a VPS.
Ubuntu Server needs to inform me of a new IP address when it changes
location: linuxquestions.com - date: April 19, 2013
I am running an Ubuntu gaming server on my home network, behind a router and firewall. My ISP is Verizon, and my external IP address changes from day to day, rarely going a week the same. This makes it difficult for other people to access my server consistently, and requires me to get a complaint, go home, check my IP, and then tell them all. Verizon doesn't think I pay enough to have a static IP, and I agree.
How can I get Ubuntu to check what the external IP is, and then forward that information in the form of a text or email if the results have changed? I have rudimentary Ubuntu skills, and my reaction was to write a script checking the IP and then sending the updated address to an (e)mailing list of recipients. I would then have cron run the script every ten minutes or so.
1: Is that idea feasible?
2: Would someone help me write that script if so?
3: What is a better idea?
eth0 no longer works; does not have inet address (Ubuntu 8.10)
location: linuxquestions.com - date: February 14, 2009
My Unbuntu machine was working fine up until I booted it this morning. I have no connectivity to the internet and an ifconfig shows that eth0 (my NIC) has no inet address, only an inet6 address:
Code:
[SOLVED] ping www.google.co.in gives unknown host error ,ping to LAN address works fine
location: linuxquestions.com - date: May 13, 2011
even ping google's ip address doesn't work. unknown host error
using backtrack4
able to browse net with these settings.
my network settings:
/etc/networking/interfaces
--------------------------
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.0.0.54
netmask 255.255.252.0
network 10.0.0.0
broadcast 10.0.3.255
gateway 10.0.0.254
--------------------------
/etc/resolv.conf
nameserver 202.141.81.2
nameserver 202.141.80.9
(note ping to DNS 202.141.81.2 works fine)
-----------------
/etc/nsswitch.conf
passwd: compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
------------------------
/etc/hosts
127.0.0.1 localhost
127.0.1.1 backtrack bt
--------------------------
/etc/host.conf
order hosts,bind
multi on
---------------------
please explain what's the problem with t
[SOLVED] Cannot mount remote filesystem. Error "Unable to find suitable address"
location: linuxquestions.com - date: January 8, 2012
I have a Linux box, running Fedora 16 and am trying to mount the C: drive from my Win XP box. I seem to have done everything by the book, but have obviously missed something. I have run out of ideas.
My Linux and XP boxes are connected to my home router, and can ping each other OK.
I have made my C: drive sharable.
I used the following command (and variations on it):
# mount -t cifs -o user=root,password=<mypassword>,rw //192.168.2.1/C /mnt/Windows-C
and the error I get is: "Unable to find suitable address."
I have this entry in my /etc/fstab:
//192.168.2.1/C /mnt/Windows-C cifs -o rw,guest,uid=1000,iocharset=utf8,codepage=unicode,unicode 0 0
What services should I be checking for? What else can I try?
Any help would be much appreciated. Thanks in advance.
Could not bind to address 0.0.0.0:80
location: linuxquestions.com - date: January 19, 2006
When i try to run apache2 I get this error.
(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
Now, Apache was working fine a month ago because I had been to the website. Now I'm working for the people who made the website, and guess what, I have to fix it. Problem is, I'm not super new to linux, I have done linux before, but never tried troubleshooting it before.
Now i checked the httpd.conf file. It's not set to bind to 0.0.0.0:80, its set for a proper address. It's also set to "Listen 80". I can't seem to find the fix I need for this error when I try to restart apache2 (apachectl start). I have also tried to start apachectl from root, but that didn't work either.
Anyone have any ideas here?
Thanks.
please wait...
Page: 1 2 3 4 5 6 7 8 9 10