Re: [CentOS] redirecting web requests from localhost

2013-08-28 Thread Markus Falb
On 29.Aug.2013, at 02:55, Markus Falb wrote: > > On 28.Aug.2013, at 21:49, Miguel González wrote: > >> So, how can I redirect for instance 443 traffic to a specific IP to >> the local IP address of the local server? I have tried this: >> >>iptables -t nat -A PREROUTING -d XXX.XXX.XXX.XX

Re: [CentOS] redirecting web requests from localhost

2013-08-28 Thread Markus Falb
On 28.Aug.2013, at 21:49, Miguel González wrote: >So, how can I redirect for instance 443 traffic to a specific IP to > the local IP address of the local server? I have tried this: > > iptables -t nat -A PREROUTING -d XXX.XXX.XXX.XXX -p tcp --dport 80 > -j DNAT --to YYY.YYY.YYY.YYY I

Re: [CentOS] redirecting web requests from localhost

2013-08-28 Thread diegors
IF (IF) is trying to get data by hostname, dnsmasq maybe could help. IF (IF) is by ip addres, problem still here. First he need understand how is working the app or wait to developer. I prefer lost 2 minutes with grep, that a lot of minutes with dnsmasq AND 2 minutes with grep later.. Diego

Re: [CentOS] redirecting web requests from localhost

2013-08-28 Thread diegors
Could be hardcoded in your java app, by hostname or ip? Just open your java (its a zip renamed) and see file contents (some of files inside, are text plain). Also, you can find a debuger Diego Sanchez Sent from my mobile -Original Message- From: Miguel González Sender: centos-boun..

[CentOS] redirecting web requests from localhost

2013-08-28 Thread Miguel González
Dear all, I´m testing a server and try to simulate a server in production. We have a SSL certificate and I have configured the test server with the same servername as it is in production. To access it, I change the hosts file in my laptop to reach the test server. However, the Java app

Re: [CentOS] nfs4, idmapd, users with same name, different uid?

2013-08-28 Thread Les Mikesell
On Wed, Aug 28, 2013 at 1:39 PM, natxo asenjo wrote: > >> This is a very tiny subset (mostly) of a corporate network where the >> larger things are handled by active directory. But, for various >> non-technical reasons I don't want these machines to have to 'join' >> AD. Kerberos will sort-of w

Re: [CentOS] nfs4, idmapd, users with same name, different uid?

2013-08-28 Thread natxo asenjo
On 08/28/2013 08:24 PM, Les Mikesell wrote: > This is a very tiny subset (mostly) of a corporate network where the > larger things are handled by active directory. But, for various > non-technical reasons I don't want these machines to have to 'join' > AD. Kerberos will sort-of work without joi

Re: [CentOS] nfs4, idmapd, users with same name, different uid?

2013-08-28 Thread Les Mikesell
On Wed, Aug 28, 2013 at 1:10 PM, natxo asenjo wrote: > >>> I have no experience with idmapd in linux, but in solaris and netapp it >>> gets ugly quite easily :-) >>> >> It also works with same UID-s on server/client, just setting the >> domainname in idmapd.conf. Ldap is not obligatory. > > that's

Re: [CentOS] nfs4, idmapd, users with same name, different uid?

2013-08-28 Thread natxo asenjo
On 08/28/2013 06:04 PM, Barbara Krasovec wrote: > On 8/28/13 11:29 AM, natxo asenjo wrote: >> for nfsv4 it is my understanding you need a central user store like ldap >> or nis (but don't use nis) or synchronize your password file to >> eternity. I do not have a centos nfs server (or a linux one,

Re: [CentOS] nfs4, idmapd, users with same name, different uid?

2013-08-28 Thread James A. Peltier
- Original Message - | On Wed, Aug 28, 2013 at 11:04 AM, Barbara Krasovec | wrote: | > >> | >> I have no experience with idmapd in linux, but in solaris and | >> netapp it | >> gets ugly quite easily :-) | >> | > It also works with same UID-s on server/client, just setting the | > domain

Re: [CentOS] nfs4, idmapd, users with same name, different uid?

2013-08-28 Thread Les Mikesell
On Wed, Aug 28, 2013 at 11:04 AM, Barbara Krasovec wrote: > >> >> I have no experience with idmapd in linux, but in solaris and netapp it >> gets ugly quite easily :-) >> > It also works with same UID-s on server/client, just setting the > domainname in idmapd.conf. Ldap is not obligatory. This i

Re: [CentOS] nfs4, idmapd, users with same name, different uid?

2013-08-28 Thread Barbara Krasovec
On 8/28/13 11:29 AM, natxo asenjo wrote: > On 08/27/2013 12:01 AM, Les Mikesell wrote: >> Is idmapd supposed to work where users have different uid numbers on >> the nfsv4 server and client? It seems to show the right names for >> ownership on the client side, but if I automount a home director

[CentOS] CentOS-announce Digest, Vol 102, Issue 15

2013-08-28 Thread centos-announce-request
Send CentOS-announce mailing list submissions to centos-annou...@centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-requ..

Re: [CentOS] nfs4, idmapd, users with same name, different uid?

2013-08-28 Thread natxo asenjo
On 08/27/2013 12:01 AM, Les Mikesell wrote: > Is idmapd supposed to work where users have different uid numbers on > the nfsv4 server and client? It seems to show the right names for > ownership on the client side, but if I automount a home directory, > that user doesn't have permission to ente

Re: [CentOS] nfs4, idmapd, users with same name, different uid?

2013-08-28 Thread Bob Marcan
On Wed, 28 Aug 2013 10:27:18 +0200 Barbara Krasovec wrote: > On 8/28/13 9:37 AM, Barbara Krasovec wrote: > > On 8/27/13 12:01 AM, Les Mikesell wrote: > >> Is idmapd supposed to work where users have different uid numbers on > >> the nfsv4 server and client? It seems to show the right names fo

Re: [CentOS] nfs4, idmapd, users with same name, different uid?

2013-08-28 Thread Barbara Krasovec
On 8/28/13 9:37 AM, Barbara Krasovec wrote: > On 8/27/13 12:01 AM, Les Mikesell wrote: >> Is idmapd supposed to work where users have different uid numbers on >> the nfsv4 server and client? It seems to show the right names for >> ownership on the client side, but if I automount a home director

Re: [CentOS] nfs4, idmapd, users with same name, different uid?

2013-08-28 Thread Barbara Krasovec
On 8/27/13 12:01 AM, Les Mikesell wrote: > Is idmapd supposed to work where users have different uid numbers on > the nfsv4 server and client? It seems to show the right names for > ownership on the client side, but if I automount a home directory, > that user doesn't have permission to enter i