You are not logged in. Please login or register.
Posts found: 6
If you feel comfortable doing so, I'd suggest that you simply make your router act as a bridge (i.e. transparently foward all requests to your server) assuming it's your gateway box as well as your server.
That's what I did:
Now the router is transparent, the server has two NICs and is the server itself which is acting as a router (via ipwv divert and nat -Mac Os X Server-) between the world and my LAN. Now PunBB records correct user IPs.
Still the same thing Your router works as a proxy, so every user that comes through has that IP
The IP of the machine in which the punBB resides?
My router has NAT activated and a DMZ defined, DMZ is 172.26.0.3 the router is 172.26.0.1
So the solution is to use NAT and opening ports into the server instead of using a DMZ IP?
Until last week I had two NIC cards in the server, one connected to the WAN and the other to the LAN. The server was doing NAT (via "divert" rues from ipfw) and no problem at all.
I changed it 'cause the spare machine I have just in case the main server fails, is a small 1U rack machine with only one Ethernet interface.
Sorry, rereading my post I realized I wrote a mistake. Its not the router address which is registered in punBB but the IP of the server
172.26.0.3 is the address of the server whilst the router has the IP 188.8.131.52
So punBB remembers the IP of the server ( 172.26.0.3) in which it is installed instead of the users IP
Again... any suggestion? (And my apologies for my mistake)
I'm unsure if it is or not a bug.
Since last week I was running PunBB in a machine with a public address.
Now I moved PunBB to a machine inside the LAN. The router is forwarding port 80 to this local machine.
Now, in every post, PunBB says the sender IP is 172.26.0.3 which belongs to the router instead of registering the real user IP.
With Safari, cursor remains to the left of the smiley after placing it (which is a little bit annoying) whilst with IE and Firefox , cursor goes to the end of the smiley.
Huh? What do you mean? Which browser?
Same here, with Safari.
Posts found: 6