Josh Trutwin wrote:

>SSL coming in on 24.16.106.242?  NAT to 192.168.0.3
>SSL coming in on 24.16.106.243?  NAT to 192.168.0.103
>SSL coming in on 24.16.106.244?  NAT to 192.168.0.104
>etc.
>
>The only part I don't know how to do is the iptables part.  Is there a way to filter on which of my public IP addresses the traffic is coming in on?  
>
>Or is there a better non-convoluted way to do this?  How do other folks do Apache SSL for virtual hosts?
>  
>
Try this:

iptables -A INPUT -d 24.16.106.242 -j ACCEPT
iptables -t nat -A PREROUTING -d 24.16.106.242 --dport 443 -j DNAT --to 
192.168.0.3

That should do the trick.

--Chad


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list