From: "Gáspár Lajos" <swifty@freemail.hu>
To: Netfilter IPtableMailinglist <netfilter@lists.netfilter.org>
Subject: Re: Conntrack for related service
Date: Thu, 03 Aug 2006 13:13:27 +0200 [thread overview]
Message-ID: <44D1DA57.6010606@freemail.hu> (raw)
In-Reply-To: <012501c6b66c$7f60a080$4764a8c0@mhsystems.com>
Mikhail wrote:
> Hello,
>
> I have a small network of Windows boxes behind Linux firewall/router. I run
> Debian Sarge 3.1 without X there. I have a server on the LAN that serves
> clients from the Internet over RMI connection on the certain port. RMI is
> basically connection-oriented TCP/IP protocol. I do DNAT for such requests
> to that local server. All is working fine so far.
>
> Problem: those clients from the Internet need direct access to the MS SQL
> server over TCP/IP on the different port. I want to open and DNAT MS SQL
> port dynamically - if client already has ESTABLISHED connection over RMI
> port I want allow access to MS SQL port, otherwise I'd like to drop the
> request. If the client got disconnected over RMI then it is OK to reject
> direct requests from him to MS SQL thereafter. How can this be accomplished
> with iptables?
>
>
I think that there is no iptables solution...
I would create an IPSec/VPN tunnel... If the user connects then you can
enable all required connections (MSQQL, etc.)
In the other hand if you even find any solution I think you can not
protect your data...
IF the user has ESTABLISHED connection WITH RMI then he also CAN access
the SQL server even with OTHER programs than the RMI !!!
P.S.: As I know RMI is like RPC under Java ....
next prev parent reply other threads:[~2006-08-03 11:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-02 19:47 Conntrack for related service Mikhail
2006-08-03 11:13 ` Gáspár Lajos [this message]
2006-08-03 16:03 ` Martijn Lievaart
[not found] <"52488.2001:888:19e1::53.1154621026.squirrel"@dexter>
2006-08-05 3:53 ` Mikhail
2006-08-05 9:32 ` Martijn Lievaart
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=44D1DA57.6010606@freemail.hu \
--to=swifty@freemail.hu \
--cc=netfilter@lists.netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.