#1  
Old 22nd November 2008, 05:34
meomike2000 meomike2000 is offline
Member
 
Join Date: Apr 2007
Posts: 39
Thanks: 14
Thanked 0 Times in 0 Posts
Default trouble with ip tables

here is my setup. i have setup two servers. on one i have set up by the perfect server how-to-ubuntu-8.04 server , ( i will call this one s1.example.com ) the other is ubuntu 8.04 server also but it only has dns (bind9) installed ( i will call this one dns.example.com ). i have one static ip from my isp. the dns setup of both servers makes s1.example.com the master for my domain and dns.example.com the slave. dns.example.com has 2 eth ports, one configured with static ip from my isp and the other for my internal network.
also on the internal network i have 1 client that i use for admin purposes. this client can use all functions on the servers ie. web pages, ftp, mail, etc.... and the client and both servers can reach the internet just fine. i have enabled forwarding, and i have added this to my /etc/rc.local file as instructed per how-to:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

sysctl -w net.ipv4.ip_forward=1
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables --table nat -A POSTROUTING -o eth1 -j MASQUERADE
#/sbin/iptables -A POSTROUTING -j MASQUERADE

exit 0


this is my first setup. it works perfect on my internal network.
also i did not install ispconfig on this system.

any help with this would be very much appreciated,
and tia....

mike

Last edited by meomike2000; 23rd November 2008 at 09:05. Reason: edited title and added mor info on problem
Reply With Quote
Sponsored Links
  #2  
Old 24th November 2008, 14:56
marpada marpada is offline
Senior Member
 
Join Date: Sep 2008
Posts: 139
Thanks: 2
Thanked 14 Times in 14 Posts
 
Default

Sorry, I read the post twice and still don't know what your problem is
________
MARIJUANA VAPORIZERS
________
WELLBUTRIN WITHDRAW

Last edited by marpada; 13th May 2011 at 01:57.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Can't View PHP web pages ris516 General 2 17th June 2007 14:15
Problems with the virtual email system with postfix, courier,mysql Greg Parker HOWTO-Related Questions 3 3rd January 2007 17:59
get thousands of "Mailsize" mails from own server torusturtle Installation/Configuration 20 24th December 2006 14:51
weird problem display £ signs in web pages paulley Server Operation 2 27th June 2006 22:16


All times are GMT +2. The time now is 16:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.