Search found 50 matches
- 2014/03/25 11:59:02
- Forum: CentOS 6 - Security Support
- Topic: How can I only allow certain MAC/IPs to access the network
- Replies: 11
- Views: 8966
Re: How can I only allow certain MAC/IPs to access the netwo
First allow your MAC address then deny all others to input to your server /sbin/iptables -A INPUT -i ethx -p tcp -s 192.168.x.x/x -d x.x.x.x -m mac --mac-source XX:XX:XX:XX:XX:XX -j ACCEPT /sbin/iptables -A INPUT -i ethx -p tcp -s 192.168.x.x/x -d x.x.x.x -m mac --mac-source XX:XX:XX:XX:XX:YY -j DROP
- 2013/06/03 14:29:42
- Forum: CentOS 6 - Networking Support
- Topic: how to deploy squid as transparent proxy
- Replies: 6
- Views: 12674
how to deploy squid as transparent proxy
Hi,
in squid you should allow your lan users and deny all others
and in iptables
MODPROBE=/sbin/modprobe
$MODPROBE iptable_nat
$MODPROBE ip_tables
IPTABLES -t nat -A POSTROUTING -o eth0 -s 192.168.0.0/24 -j SNAT --to-source 192.168.1.51
OR
$IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
in squid you should allow your lan users and deny all others
and in iptables
MODPROBE=/sbin/modprobe
$MODPROBE iptable_nat
$MODPROBE ip_tables
IPTABLES -t nat -A POSTROUTING -o eth0 -s 192.168.0.0/24 -j SNAT --to-source 192.168.1.51
OR
$IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
- 2010/10/22 12:52:33
- Forum: CentOS 5 - Server Support
- Topic: SSO Authentication windows 2008+Samba 3.0 as Member Server
- Replies: 4
- Views: 794
Re: SSO Authentication windows 2008+Samba 3.0 as Member Server
Thanks Pschaff,
for your prompt and valuable guidance, i am using centos from last 4-years very stable operating system.
i will update it promptly
thanks again.
Vijay Kadam
for your prompt and valuable guidance, i am using centos from last 4-years very stable operating system.
i will update it promptly
thanks again.
Vijay Kadam
- 2010/10/21 06:04:50
- Forum: CentOS 5 - Server Support
- Topic: SSO Authentication windows 2008+Samba 3.0 as Member Server
- Replies: 4
- Views: 794
SSO Authentication windows 2008+Samba 3.0 as Member Server
Hi,
I have Windows 2008R2 Server acting as Domain Controller for Windows7/XP clients.
and CentOS 5.3 Installed configured as Samba Server, I want to make it as ADS member server so any user to login to any machine, and be able to access their Samba share.
Any suggestions?
I have Windows 2008R2 Server acting as Domain Controller for Windows7/XP clients.
and CentOS 5.3 Installed configured as Samba Server, I want to make it as ADS member server so any user to login to any machine, and be able to access their Samba share.
Any suggestions?
- 2010/07/01 12:55:24
- Forum: CentOS 5 - Server Support
- Topic: sendmail how to authenticate
- Replies: 3
- Views: 784
Re: sendmail how to authenticate
Hi, first of all you need static ip and dns resolution with MX pointing to your ip Or you can use DDNS service. second my suggestion to use webmail (squirrelmail) it will help you to authenticate users in both ways and finally using iptables allow inbound TCP traffic on your mail server port from ou...
- 2010/06/05 06:39:01
- Forum: CentOS 5 - Server Support
- Topic: Opening my Server to internet
- Replies: 4
- Views: 755
Re: Opening my Server to internet
Hi, My opinion( my viewpoint) for this server configuration is if you want to make it as gateway/router then you need at least 2 NIC's as per virtual hosting is concern, it is depend on which type of virtual hosting you are going to set Name Based or IP Based if IP Based then add another NIC and ass...
- 2010/06/05 06:17:17
- Forum: CentOS 5 - Server Support
- Topic: SquidClamav configuration not working --- help needed
- Replies: 4
- Views: 2053
Re: SquidClamav configuration not working --- help needed
Hi, SquidClamAv is a dedicated ClamAV antivirus redirector for Squid. It can run antivirus checks based on filename regex, content-type regex, and more. I got info about squidclamav from following links http://sourceforge.net/projects/squidclamav/files/ http://squidclamav.darold.net/ http://freshmea...
- 2010/06/02 08:01:22
- Forum: CentOS 5 - Server Support
- Topic: SquidClamav configuration not working --- help needed
- Replies: 4
- Views: 2053
SquidClamav configuration not working --- help needed
Hi, I installed squidclamav 3.9 squid_ip 127.0.0.1 squid_port 3128 logfile /var/log/squid/squidclamav.log maxsize 5000000 #squidguard /usr/local/squidGuard/bin/squidGuard maxredir 30 clamd_local /var/run/clamav/clamd.sock clamd_ip 127.0.0.1 clamd_port 3310 timeout 60 useragent Mozilla/4.0 (compatibl...
- 2010/05/20 09:55:11
- Forum: CentOS 5 - Networking Support
- Topic: Newbie trying to connect to HTTP Proxy Server
- Replies: 7
- Views: 2580
Newbie trying to connect to HTTP Proxy Server
you can use text based browser such as lynx i will explain u how to set the proxy open configuration file using vi editor and add the http_proxy line as follows vi /etc/lynx-site.cfg http_proxy="http://a.b.c.d:port/" where a.b.c.d is your proxy server ip and port is proxy port to browse the site jus...
- 2010/05/20 09:35:52
- Forum: CentOS 5 - Server Support
- Topic: Bind 9.3.6 and Reverse DNS
- Replies: 8
- Views: 3961
Re: Bind 9.3.6 and Reverse DNS
Hi,
I Think all configs are ok.
are u testing local/LAN dns and mail server.
Or you want to make it available globally.
Regards
Vijay kadam
I Think all configs are ok.
are u testing local/LAN dns and mail server.
Or you want to make it available globally.
Regards
Vijay kadam