plzzzzzzzzzzzzzzzzzzzzzzzzzzz Help

Taking care of your Linux box.
Post Reply
sathi
Lance Naik
Posts: 29
Joined: Tue Jul 04, 2006 11:13 am

plzzzzzzzzzzzzzzzzzzzzzzzzzzz Help

Post by sathi »

mara sath masla ya ha ka main forms sa squid bana lia ha ot main na rc.local main ya setting ki ha
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
route add default gw 192.168.1.1


iptables -t nat -A POSTROUTING -p tcp --dport 25 -o eth0 -j MASQUERADE
iptables -t nat -A POSTROUTING -p tcp --dport 110 -o eth0 -j MASQUERADE
iptables -t nat -A POSTROUTING -p tcp --dport 25 -o eth1 -j MASQUERADE
iptables -t nat -A POSTROUTING -p tcp --dport 110 -o eth1 -j MASQUERADE
~
mara browser kam kar raha ha lakin outlook nahi chal raha ha
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

what about dns?
sathi
Lance Naik
Posts: 29
Joined: Tue Jul 04, 2006 11:13 am

lambha

Post by sathi »

i am new user linux
plz send me step by step dns setting


my dns isp


202.154.255.20
202.154.255.21
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Re: lambha

Post by lambda »

sathi wrote:i am new user linux
plz send me step by step dns setting
i don't have the time, sorry. why don't you hire an experienced sysadmin?
Kdaemon
Naib Subedar
Posts: 346
Joined: Sat Nov 30, 2002 12:22 pm
Location: Islamabad. GPS: LHR

Re: lambha

Post by Kdaemon »

lambda wrote:
sathi wrote:i am new user linux
plz send me step by step dns setting
i don't have the time, sorry. why don't you hire an experienced sysadmin?
ok hire lambda for this job... :idea:
reg linux user #298274
irfanbhatti
Havaldaar
Posts: 145
Joined: Fri Jun 03, 2005 12:19 pm
Location: Rawalpindi Islamabad
Contact:

Re: plzzzzzzzzzzzzzzzzzzzzzzzzzzz Help

Post by irfanbhatti »

sathi wrote:mara sath masla ya ha ka main forms sa squid bana lia ha ot main na rc.local main ya setting ki ha
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
route add default gw 192.168.1.1


iptables -t nat -A POSTROUTING -p tcp --dport 25 -o eth0 -j MASQUERADE
iptables -t nat -A POSTROUTING -p tcp --dport 110 -o eth0 -j MASQUERADE
iptables -t nat -A POSTROUTING -p tcp --dport 25 -o eth1 -j MASQUERADE
iptables -t nat -A POSTROUTING -p tcp --dport 110 -o eth1 -j MASQUERADE
~
mara browser kam kar raha ha lakin outlook nahi chal raha ha




did you have dns server on your network
if not use ipaddress of your pop and smtp server
and is you internal network conected to eth0 and external on eth1
and use only one gatway for your box
Muhammad Irfan
03335246272
ather_36
Naik
Posts: 97
Joined: Thu Jul 31, 2003 11:38 am
Location: karachi
Contact:

Re: lambha

Post by ather_36 »

lambda wrote:
sathi wrote:i am new user linux
plz send me step by step dns setting
i don't have the time, sorry. why don't you hire an experienced sysadmin?
Dear Lamda,
If u dont have the time so wat r u doing here. :?: go.go.go
jargon
Lieutenant Colonel
Posts: 691
Joined: Mon Oct 13, 2003 9:40 am

Re: lambha

Post by jargon »

ather_36 wrote:
lambda wrote:
sathi wrote:i am new user linux
plz send me step by step dns setting
i don't have the time, sorry. why don't you hire an experienced sysadmin?
Dear Lamda,
If u dont have the time so wat r u doing here. :?: go.go.go
Give me a break, you guys are like broken records.

He was referring to sathi asking for "step by step" instructions which is so annoying. If anyone doesn't even care about wanting to figure out THEIR problem by themselves why the heck should someone spend so much energy on them. Just because you're new to something doesn't mean you're going to have your hand held throughout the entire learning process.
jargon
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Re: lambha

Post by lambda »

ather_36 wrote:If u dont have the time
read for comprehension. i quoted his request for step-by-step instructions to describe what i don't have time for.
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re: lambha

Post by LinuxFreaK »

Dear ather_36,
Hello,
jargon wrote:Give me a break, you guys are like broken records.

He was referring to sathi asking for "step by step" instructions which is so annoying. If anyone doesn't even care about wanting to figure out THEIR problem by themselves why the heck should someone spend so much energy on them. Just because you're new to something doesn't mean you're going to have your hand held throughout the entire learning process.
I agree with jargon.

Best Regards.
Farrukh Ahmed
ranatanveer
Subedar
Posts: 355
Joined: Sat May 07, 2005 11:54 am
Location: Lahore
Contact:

Post by ranatanveer »

and me agree with LinuxFreak 8)
Regards

Rana Tanveer
+923224194457
Linux Student

For Affordable Web Development http://www.affordableprogrammers.com
http://www.qualityprogrammers.com
Muhammad Asim
Lance Naik
Posts: 46
Joined: Tue Jul 27, 2004 11:24 am
Location: Lahore

Post by Muhammad Asim »

'm also agree with freaky
Muhammad Asim Gul
Lahore
Post Reply