RE: Configuration of Nocat servers on the same machine
"Yann Garcia" <[email protected]>
| Newsgroups | gmane.network.nocat |
|---|---|
| Organization | SmartCom |
| Message-ID | <[email protected]> |
Hello Todd, I have iptable installed, but I have not add any specific rules; I had understood that Nocat sets itself the right rules. Do I have to add or modify some rules? Thanks again, Yann _____ De : Todd Pucci [mailto:[email protected]] Envoyé : mardi 13 septembre 2005 19:47 À : [email protected] Objet : RE: [NoCat] Configuration of Nocat servers on the same machine Yann, What do you mean by the firewall is disabled? NoCat uses iptables to redirect/authenticate traffic. -Todd -----Original Message----- From: Yann Garcia [mailto:[email protected]] Sent: Tuesday, September 13, 2005 11:20 AM To: 'Todd Pucci'; [email protected] Subject: RE: [NoCat] Configuration of Nocat servers on the same machine Hello Tod, Thanks a lot, I am going to try with these files. Just to check: in /usr/local/nocat, I have to directories: gateway and authserv. For apache, I have made these changes: * Listen 10.1.10.20:80 * DocumentRoot "/usr/local/nocat/authserv/htdocs" * Added these lines at the end of the httpd.conf file: Include /usr/local/nocat/authserv/httpd.conf <Directory "/usr/local/nocat/authserv/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> # # # Use name-based virtual hosting. # NameVirtualHost 10.1.10.20:80 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # <VirtualHost 10.1.10.20:80> ServerAdmin [email protected] ServerName 10.1.10.20 DocumentRoot /usr/local/nocat/authserv/htdocs <Directory "/usr/local/nocat/authserv/htdocs"> AllowOverride all Options FollowSymLinks Includes Indexes MultiViews Order allow,deny Allow from all </Directory> ScriptAlias /cgi-bin/ "/usr/local/nocat/authserv/cgi-bin/" <Directory "/usr/local/nocat/authserv/cgi-bin"> AllowOverride all Options ExecCGI Order allow,deny Allow from all </Directory> # <IfModule mod_ssl.c> # Include /etc/httpd/conf.d/ssl.conf # </IfModule> # Add NoCat/Authentication module <meta> http-equiv="Refresh" content="$redirect" </meta> </VirtualHost> For the routing, to simply the things, the firewall is disabled and I have set the ip forwarding. Thanks again for your help, Yann _____________________________________________ De : Todd Pucci [mailto:[email protected]] Envoyé : mardi 13 septembre 2005 16:51 À : [email protected] Objet : RE: [NoCat] Configuration of Nocat servers on the same machine Yann, Attached are some config files as well as some load notes I have for a single box install on Fedora Core 2. The gateway and auth config files are from a splash-screen only install at a hotel. The install is for a dual-isp computer (with link failover) but it should be close to what you want to do. Are you still using FC4? If so, make sure you disable SELinux, as it will cause problems. Also, are you able to route traffic through the computer without NoCat running? This should be the first step: iptables and trafic routing without NoCat running. Nocat should just be a level you put on top for authentication Hope this helps, -Todd -----Original Message----- From: Yann Garcia [mailto:[email protected]] Sent: Tuesday, September 13, 2005 3:44 AM To: [email protected] Subject: [NoCat] Configuration of Nocat servers on the same machine Hello, I am looking for a sample of Nocat configuration files when both Nocat Gateway and Auth servers are installed on the same machine. I know that it is not a good configuration but this is only for internal test. Please, anyone can send me these samples because, at this moment, my Nocat does not work at all? Thanks a lot for your help. Yann _______________________________________________ NoCat mailing list [email protected] http://lists.nocat.net/mailman/listinfo/nocat << Fichier: nocat.conf.auth >> << Fichier: nocat.conf.gw >>