Skip to main content
djmax
New Member
January 15, 2016
Question

External IP's

  • January 15, 2016
  • 5 replies
  • 7719 views

Good day to everybody, iam newbie at forti-os, so please be patient.. :) Nees one solution ASAP, please help... :( 

 

I have FG100D DHCP server is on domain controller, i have one WAN connection and my ISP provides ip address range x.x.x.10-x.x.x.22 all network traffic goes thru IP x.x.x.10, i have one server that should be connected directly to extarnal IP adress without NAT, I can do it placing switch behind ISP optical converter and just configure interface in my server, but i would like traffic goes thru my firewall, so how this idea can be realised? Can you describe how cah i do it thru FG web interface - step-by-step.

Would really appreciate it.

 

Thank you.

    5 replies

    ede_pfau
    SuperUser
    SuperUser
    January 15, 2016

    hi,

     

    and welcome to the forums.

    There is a solution which would connect your server to the router via a "transparent VDOM" but...this setup is not simple. As I'm not sure what your requirements are, let me ask: why not NAT? Can't the server use a private address, or one of your public addresses (say, 1.2.3.4), while you NAT it to another public address (say, 1.2.3.5)?

    ponder
    New Member
    January 17, 2016

    I think one way you could do this is by connecting the server to another router and the router to a spare port on the Fortigate.

     

    The port on the Fortigate needs to have a random /31 IP on it, the router the other IP from /31 range.  The server can be connected to this router and use a /31 again for the router and server connection.  The public IP on the router will over lap with the IP in the rest of your network, but as long as the server never needs to reach that 'real' IP it won't matter.  The Fortigate needs to be configured with a static route pointing x.x.x.server/32 to the the random /31 IP used for the router and the router needs a default route back to the random /31 on the Fortigates' interface.

     

    You can then configure policies needed between External port and the new port where the server is.

     

    Does that make sense at all?  I can't say I have tried this, but logically I think it should work... 

     

    ede_pfau
    SuperUser
    SuperUser
    January 17, 2016

    I think the OP should clarify the "no NAT" issue first before we can proceed.

     

    @ponder, routing across a transfer network has the same consequences as NATting, namely the server will not have the public IP assigned to it's interface. As I've understood the post that's violating OP's requirement.

    ponder
    New Member
    January 17, 2016

    @ede_pfau the public IP would still be on the server.  Maybe my explanation was not the best. :(

     

     

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.