LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-05-2012, 12:03 AM   #1
sanjay87
Member
 
Registered: Oct 2011
Posts: 164

Rep: Reputation: Disabled
Whether ufw iptables support nating & Mac address restriction through firewall


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 address rejection.

Last edited by sanjay87; 03-05-2012 at 12:05 AM.
 
Old 03-05-2012, 09:28 AM   #2
lisle2011
Member
 
Registered: Mar 2011
Location: Surrey B.C. Canada (Metro Vancouver)
Distribution: Slackware 2.6.33.4-smp
Posts: 183
Blog Entries: 1

Rep: Reputation: 25
ufw firewalls

enable both natting and MAC address filtering.

This link should help
 
1 members found this post helpful.
Old 03-05-2012, 09:28 AM   #3
lisle2011
Member
 
Registered: Mar 2011
Location: Surrey B.C. Canada (Metro Vancouver)
Distribution: Slackware 2.6.33.4-smp
Posts: 183
Blog Entries: 1

Rep: Reputation: 25
ufw firewalls

enable both natting and MAC address filtering.

This link should help
 
1 members found this post helpful.
  


Reply

Tags
nating



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nating problem incoming receives from static ip outgoing goes from firewall nating ip jsaravana87 Linux - Networking 1 11-16-2011 06:12 PM
Restriction using MAC address (squid) SuSE AQG Linux - Security 35 08-31-2006 10:13 AM
MAC address filtering firewall? gigaah Linux - Security 5 06-07-2004 11:05 AM
Mac address restriction PcHammer Linux - Networking 4 12-31-2003 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration