LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-07-2010, 03:22 AM   #1
MEETKAMBOJ
Member
 
Registered: May 2010
Posts: 41

Rep: Reputation: 0
configuring nat server


I have installed mandriva 2009 . I want to configure nat server.
my internal network ip is 192.168.1.1 and external ip x.x.x.x . how can i configure nat server.
 
Old 09-07-2010, 04:13 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by MEETKAMBOJ View Post
I have installed mandriva 2009 . I want to configure nat server.
my internal network ip is 192.168.1.1 and external ip x.x.x.x . how can i configure nat server.
What is you exact requirement for NATing? i mean what ip,port you want to NAT

BTW this will help you.

http://www.howtoforge.com/nat_iptables

http://netfilter.org/documentation/H...T-HOWTO-6.html
 
Old 09-07-2010, 06:58 AM   #3
MEETKAMBOJ
Member
 
Registered: May 2010
Posts: 41

Original Poster
Rep: Reputation: 0
i also want to know that security with squid can can work with nat.
 
Old 09-07-2010, 07:02 AM   #4
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by MEETKAMBOJ View Post
i also want to know that security with squid can can work with nat.
Please elaborate your question.
 
Old 09-08-2010, 12:00 AM   #5
MEETKAMBOJ
Member
 
Registered: May 2010
Posts: 41

Original Poster
Rep: Reputation: 0
i have installed squid proxy server with squid guard in mandriva 2010 . every thing is working fine . but i should not be able to allow yahoo messanger and outlook express in windows client with squid. can u help me to solve this problem.

thanks.
 
Old 09-08-2010, 03:24 AM   #6
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by MEETKAMBOJ View Post
i have installed squid proxy server with squid guard in mandriva 2010 . every thing is working fine . but i should not be able to allow yahoo messanger and outlook express in windows client with squid. can u help me to solve this problem.

thanks.
Squid is a HTTP proxy so generally you can't access smtp/pop port through squid.

FYI Setup iptables rules to access outlook ( i never used this)

Code:
# echo "1" > /proc/sys/net/ipv4/ip_forward
# iptables -t nat -A POSTROUTING -p TCP --dport 110 -j MASQUERADE
# iptables -t nat -A POSTROUTING -p TCP --dport 25 -j MASQUERADE
squid proxy + pop3/smtp + iptables

HTH
 
Old 09-08-2010, 03:28 AM   #7
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296
Hi,

If you're looking for a POP3/IMAP proxy then have a look at Nginx and its documentation wiki.

Kind regards,

Eric
 
  


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
Configuring NAT SentralOrigin Linux - Networking 4 01-20-2010 10:49 PM
Need help configuring iptables NAT a550ee Linux - Networking 6 04-08-2009 08:17 PM
Configuring Nat Server in Linux winxandlinx Linux - Networking 13 12-24-2006 03:22 AM
Problem Configuring Address Restricted Nat cipherscrux Linux - Networking 1 06-22-2006 02:52 AM
help with configuring a firewall and NAT fhiggins Linux - Networking 0 09-26-2003 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:54 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