LinuxQuestions.org
Review your favorite Linux distribution.
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, 02: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 02:11 AM.
 
Old 06-15-2013, 05: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 03:52 AM
kernel panic not synching : fatal exception in rhel 5 kannansoft1985 Red Hat 1 03-24-2012 03:21 AM
firewal questions lostn1slinux Linux - Security 1 12-08-2005 03:30 PM
help createing exception class from base STL exception qwijibow Programming 4 04-20-2005 05:23 AM
Router/NAT/Firewal Bluee Linux - Networking 4 02-28-2002 11:01 AM


All times are GMT -5. The time now is 04:40 AM.

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