Debian Firewall

hi everybody
i have a problem with my ftp server
i have two network my Lan network 172.16.1.0/24 and external 192.168.1.0/24
my firewall server has 2 card eth0:172.16.1.1 and eth1 192.168.1.150
after i configured my ftp server with NAT-IN help external can access to my FTP server ip:172.16.1.10/24.i realize that My Lan can access to My FTP server but external client cann't access to my FTP server.
this is my rules on iptables
iptables –t nat –A PREROUTING –d 192.168.1.150 –i eth1 –p tcp –m tcp –dport 20 –j DNAT –to-destination 172.16.1.10:20
iptables –t nat –A PREROUTING –d 192.168.1.150 –i eth1 –p tcp –m tcp –dport 21 –j DNAT –to-destination 172.16.1.10:21

How to setup spam filter at Debian(Lenny ). Please let me know.

Regards
Sah

My current rules. Before my system was slow to respond. But now it responds quicker. For example earlier when i logged in through ssh it would take aprox 25 sec using putty. (had no fw earlier) Now i has almost instant acess.

Quote:

#!/bin/sh

# The location of the IPtables binary file on your system.
IPT="/sbin/iptables"

# The Network Interface.
INT="eth0"

# Clear out old rules.
$IPT -F
$IPT -F INPUT
$IPT -F OUTPUT
$IPT -F FORWARD
$IPT -F -t mangle
$IPT -F -t nat
$IPT -X

# My system IP/set ip address of server
SERVER_IP="xx.xxx.xxx.xxx"

#Setting default filter policy
$IPT -P INPUT DROP
$IPT -P OUTPUT DROP
$IPT -P FORWARD DROP

# Allow unlimited traffic on loopback
$IPT -A INPUT -i lo -j ACCEPT
$IPT -A OUTPUT -o lo -j ACCEPT

hi guys,

hope someone can help me figure this out.
i have a server and 12 clients all with public IP addresses i am doing content filtering/caching using dansguardian/squid3

i have tested the config on my LAN and all is working fine
LAN network 192.168.1.0
br0 (eth0-facing linksys router and eth1 facing my 3 com switch connect to LAN)
br0 ip 192.168.1.2 and my etc/network/interfaces looks like that:

iface br0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
pre-up /sbin/ip link set eth0 up
pre-up /sbin/ip link set eth1 up
pre-up /usr/sbin/brctl addbr br0
pre-up /usr/sbin/brctl addif br0 eth0

Hello,
I want to generate my own socks 5 proxy not for lan but for my use on internet
I want to access that proxy from any pc and any connection.

Like proxy supplied by atomintersoft.com or xroxy.com i want to create my own 300 socks 5 proxy.
I can have dedicated server if required to do so.

1)Can anyone tell me steps to create my own socks5 proxy.What are general system requirement.
2)Which Distro will be best for this purpose.I am new here and dont have idea about linux but can grasp everything faster than u!

Like people use public proxy I want to create my own socks 5 proxy and want to use as private proxy because public proxy dont have quality.

Syndicate content Syndicate content