LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-15-2013, 03:05 AM   #1
rajesh20r
LQ Newbie
 
Registered: Apr 2013
Posts: 2

Rep: Reputation: Disabled
RHEL 5 Firewal Exception


Hello,

My HTTP and HTTPS ports are blocked in firewall.
Now I want open http port only for gmail.com
How to add exception for all outgoing to a single IP in iptables

Last edited by rajesh20r; 06-15-2013 at 03:11 AM.
 
Old 06-15-2013, 06:29 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
realistically, you can't. gmail is NOT a single IP. You should use a proxy for this, like Squid.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
kernel panic- not syncing : fatal exception on RHEL 5 patelra Linux - Newbie 4 06-11-2013 04:52 AM
kernel panic not synching : fatal exception in rhel 5 kannansoft1985 Red Hat 1 03-24-2012 04:21 AM
firewal questions lostn1slinux Linux - Security 1 12-08-2005 04:30 PM
help createing exception class from base STL exception qwijibow Programming 4 04-20-2005 06:23 AM
Router/NAT/Firewal Bluee Linux - Networking 4 02-28-2002 12:01 PM


All times are GMT -5. The time now is 12:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration