Hi. I am trying to create an internet billing device using windows XP Pro. The box has one LAN nic and one WAN nic. What I need to do to achieve what I want is:
1) Setup NAT routing on winXP box, to allow clients on the LAN nic to access the internet on the WAN nic.
2) Utilise a firewall that can be 'controlled' via a VB COM application.
When an incoming connection is received on the LAN nic, I want to be able to query a SQL database and find out if that IP address has been enabled for access (which will be done via a web login page prior). IF it is enabled, then create a firewall rule to allow access.
When the session finishes, then the app will remove the firewall rule.
Firstly, I cannot seem to enable NAT routing on the windows xp box. Does anyone know how to enable this using 'netsh' as I believe that the RRAS stuff is present on an XP box, just without the GUI.
Alternatively is there a third-party NAT routing utility that doesnt come with proxy, firewall (unless I can configure the rules dynamically) etc.