LEDs on alix 2d13 Board

Hello

i would like to use the LEDs on my alix 2d13 board to show activity and status of my vpn connection.
this is the info i have about the LEDs:

  • LED2 (middle)
    GPIO G25
    Read port 06180h bit 9
    write port 06180h bit 9 / 25
    LED3 (right)
    GPIO G27
    Read port 06180h bit 11
    Write port 06180h bit 11 / 27

How can i implement these LEDs?

thanx