From: "outspoken" <outspoken@gru.net>
To: netfilter@lists.samba.org
Subject: simple, but not for me.
Date: Sun, 30 Jun 2002 00:04:09 -0400 [thread overview]
Message-ID: <00a701c21feb$30bea010$0200a8c0@SILVERBEAST> (raw)
[-- Attachment #1: Type: text/plain, Size: 1554 bytes --]
ok, ill lay out a simple plan of what i need done. of course ive tried a lot of the options listed in this listeserv, and cant seem to get them working properly. also read some howtos and other various things but just came seem to get things working. there was one post that i thought was going to be helpful recently, but all they talked about was how its a security risk and they should really look into a dmz. well i cant right now since i don't have another ethernet card so please someone post simple iptables examples for me to use. =)
i have a machine = 192.168.0.8 which is behind the firewall = 192.168.0.1
what i need to do is have 192.168.0.8 be visible to the public for web serving, ssh, mysql.
that is all.
my nat setup currently works fine with 3 machines behind the firewall.
modules loaded:
insmod ip_tables
insmod ip_conntrack
insmod ipt_state
insmod ipt_limit
insmod iptable_filter.o
insmod iptable_mangle.o
insmod ipt_LOG.o
insmod ipt_MASQUERADE.o
insmod ipt_REDIRECT.o
insmod ipt_REJECT.o
insmod iptable_nat.o
there are only 2 NAT lines in use:
iptables -t nat -F
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
please advice as to what is needed, this does not need to be a super solution, this is a temporary thing for someone i trust to login and test out some code he is doing for me on a web project. the reason these functions cant be done on the firewall machine is because the php/mysql/apache setup on there is god awful and i have not been able to fix that.
thanks a lot!
[-- Attachment #2: Type: text/html, Size: 3178 bytes --]
next reply other threads:[~2002-06-30 4:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-30 4:04 outspoken [this message]
2002-06-30 5:25 ` simple, but not for me Jack Bowling
[not found] <20020630053506.43C3143FD@lists.samba.org>
2002-06-30 5:54 ` outspoken
2002-06-30 8:04 ` Jack Bowling
[not found] <20020630132725.896984212@lists.samba.org>
2002-06-30 16:48 ` Marc Carter
-- strict thread matches above, loose matches on Subject: below --
2002-06-30 19:35 j davis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00a701c21feb$30bea010$0200a8c0@SILVERBEAST' \
--to=outspoken@gru.net \
--cc=netfilter@lists.samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox